ko-lint-config 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.js CHANGED
@@ -45,7 +45,7 @@ module.exports = {
45
45
  // "warn" 或 1 - 开启规则,使用警告级别的错误:warn (不会导致程序退出)
46
46
  // "error" 或 2 - 开启规则,使用错误级别的错误:error (当被触发的时候,程序会退出)
47
47
  rules: {
48
- semi: [2, 'always'],
48
+ semi: 0,
49
49
  strict: 0,
50
50
  // 缩进
51
51
  indent: [
@@ -181,6 +181,7 @@ module.exports = {
181
181
  2,
182
182
  { vars: 'all', args: 'none', ignoreRestSiblings: false },
183
183
  ],
184
+ '@typescript-eslint/semi': [2, 'always'],
184
185
  '@typescript-eslint/no-explicit-any': 0,
185
186
  '@typescript-eslint/explicit-member-accessibility': 0,
186
187
  '@typescript-eslint/explicit-function-return-type': 0,
package/.stylelintrc.js CHANGED
@@ -33,5 +33,11 @@ module.exports = {
33
33
  'no-empty-source': null, // 空文件
34
34
  'block-no-empty': null, // 空规则
35
35
  'function-url-quotes': null, // url 不需要引号
36
+ 'selector-pseudo-class-no-unknown': [
37
+ true,
38
+ {
39
+ ignorePseudoClasses: ['global'],
40
+ },
41
+ ],
36
42
  },
37
43
  };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # ko-lint-config
2
2
 
3
+ ## 2.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 35a552d2: update eslint semi and stylelint config
8
+
3
9
  ## 2.2.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ko-lint-config",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "lint configs about eslint stylelint and prettier",
5
5
  "main": "index.js",
6
6
  "files": [