@zpcscc/configs 2.0.7 → 2.0.8
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/eslint-config/index.js +2 -0
- package/package.json +1 -1
package/eslint-config/index.js
CHANGED
@@ -121,6 +121,8 @@ module.exports = {
|
|
121
121
|
'no-return-await': 'off',
|
122
122
|
// 禁止未使用的表达式
|
123
123
|
'no-unused-expressions': 'off',
|
124
|
+
// 禁止无效的import导入;此配置有bug;这里关闭;
|
125
|
+
'n/no-missing-import': 'off',
|
124
126
|
// 函数名称后需要跟一个空格。这里关闭
|
125
127
|
'space-before-function-paren': 'off',
|
126
128
|
// 在属性上使用析构函数变量。这里关闭
|