@lsby/eslint-config 0.2.9 → 0.2.10

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.
@@ -87,7 +87,11 @@ var ts\u5B89\u5168\u6027 = {
87
87
  // 禁止非空断言运算符
88
88
  "@typescript-eslint/no-non-null-assertion": "error",
89
89
  // 永远使用let, 拒绝var和const, 并自动修复
90
- "@lsby/prefer-let": "error"
90
+ "@lsby/prefer-let": "error",
91
+ // 永远使用 === 而不是 ==, 在一些情况下能自动修复
92
+ eqeqeq: ["error", "always"],
93
+ // 在除了逻辑表达式的地方, 使用使用??而不是||
94
+ "@typescript-eslint/prefer-nullish-coalescing": "error"
91
95
  }
92
96
  };
93
97
  var jsDoc\u5B89\u5168\u6027 = {
package/dist/esm/index.js CHANGED
@@ -45,7 +45,11 @@ var ts\u5B89\u5168\u6027 = {
45
45
  // 禁止非空断言运算符
46
46
  "@typescript-eslint/no-non-null-assertion": "error",
47
47
  // 永远使用let, 拒绝var和const, 并自动修复
48
- "@lsby/prefer-let": "error"
48
+ "@lsby/prefer-let": "error",
49
+ // 永远使用 === 而不是 ==, 在一些情况下能自动修复
50
+ eqeqeq: ["error", "always"],
51
+ // 在除了逻辑表达式的地方, 使用使用??而不是||
52
+ "@typescript-eslint/prefer-nullish-coalescing": "error"
49
53
  }
50
54
  };
51
55
  var jsDoc\u5B89\u5168\u6027 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsby/eslint-config",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "require": "./dist/cjs/index.cjs",