chore: 修改eslint配置
This commit is contained in:
parent
7cd0c36f65
commit
a14a16117d
@ -17,6 +17,9 @@
|
|||||||
"no-continue": "off", // 允许使用continue
|
"no-continue": "off", // 允许使用continue
|
||||||
"no-bitwise": "off", // 允许使用位运算
|
"no-bitwise": "off", // 允许使用位运算
|
||||||
"max-classes-per-file": "off", // 允许一个文件写多个类
|
"max-classes-per-file": "off", // 允许一个文件写多个类
|
||||||
|
"func-names": "off", // 允许具名函数
|
||||||
|
"no-restricted-syntax": "off", // 允许for of
|
||||||
|
"no-constant-condition": "off", // 允许while(true)
|
||||||
"import/extensions": [
|
"import/extensions": [
|
||||||
"error",
|
"error",
|
||||||
"ignorePackages", // 忽略 node_modules 内的包
|
"ignorePackages", // 忽略 node_modules 内的包
|
||||||
|
Loading…
x
Reference in New Issue
Block a user