@lsby/eslint-config 0.2.15 → 0.2.16

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.
@@ -99,7 +99,9 @@ var ts\u5B89\u5168\u6027 = {
99
99
  // 因为null和undefined有区别, 我们不需要两个空值
100
100
  // 而js的方法返回的都是undefined
101
101
  // 只要我们注意JSON上的转换, 就没有问题
102
- "@lsby/no-null": "error"
102
+ // '@lsby/no-null': 'error',
103
+ // 禁止使用undefined
104
+ "no-undefined": "error"
103
105
  }
104
106
  };
105
107
  var jsDoc\u5B89\u5168\u6027 = {
package/dist/esm/index.js CHANGED
@@ -57,7 +57,9 @@ var ts\u5B89\u5168\u6027 = {
57
57
  // 因为null和undefined有区别, 我们不需要两个空值
58
58
  // 而js的方法返回的都是undefined
59
59
  // 只要我们注意JSON上的转换, 就没有问题
60
- "@lsby/no-null": "error"
60
+ // '@lsby/no-null': 'error',
61
+ // 禁止使用undefined
62
+ "no-undefined": "error"
61
63
  }
62
64
  };
63
65
  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.15",
3
+ "version": "0.2.16",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "require": "./dist/cjs/index.cjs",