ko-lint-config 2.2.15 → 2.2.17

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
@@ -113,7 +113,7 @@ module.exports = {
113
113
  // 函数括号前的空格
114
114
  2,
115
115
  {
116
- anonymous: 'always', // 匿名函数表达式,例如 function () {}
116
+ anonymous: 'never', // 匿名函数表达式,例如 function () {}
117
117
  named: 'never', // 命名函数表达式,例如 function foo () {}
118
118
  asyncArrow: 'always', // 异步箭头函数表达式,例如 async () => {}
119
119
  },
@@ -129,7 +129,7 @@ module.exports = {
129
129
  'no-prototype-builtins': 0,
130
130
  'no-mixed-operators': 1, // 混合使用不同的运算符,建议添加括号增加代码的可读性
131
131
  'no-return-assign': 0, // return 的代码中有运算
132
- 'no-useless-escape': 0,
132
+ 'no-useless-escape': 1,
133
133
  'no-useless-constructor': 0, // 空构造函数
134
134
  'no-template-curly-in-string': 0,
135
135
  'no-console': 0,
package/.stylelintrc.js CHANGED
@@ -52,5 +52,6 @@ module.exports = {
52
52
  'selector-pseudo-class-no-unknown': null, // 兼容写法
53
53
  'selector-type-no-unknown': null, // 兼容写法
54
54
  'number-max-precision': 10, // 数字中允许的小数位数
55
+ 'value-no-vendor-prefix': null,
55
56
  },
56
57
  };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # ko-lint-config
2
2
 
3
+ ## 2.2.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 7a0c20ff: space-before-function-paren anonymous
8
+
9
+ ## 2.2.16
10
+
11
+ ### Patch Changes
12
+
13
+ - ab8fd720: some rules
14
+
3
15
  ## 2.2.15
4
16
 
5
17
  ### Patch Changes
package/README_CN.md CHANGED
@@ -35,7 +35,7 @@
35
35
  ## 安装
36
36
 
37
37
  ``` bash
38
- pnpm add ko-lint-config -D
38
+ pnpm add ko-lint-config@lastest -D
39
39
  ```
40
40
 
41
41
  ## 使用
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ko-lint-config",
3
- "version": "2.2.15",
3
+ "version": "2.2.17",
4
4
  "description": "lint configs about eslint stylelint and prettier",
5
5
  "main": "index.js",
6
6
  "files": [