diff --git a/.eslintrc.json b/.eslintrc.json index 8748055..5c123e3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -17,6 +17,9 @@ "no-continue": "off", // 允许使用continue "no-bitwise": "off", // 允许使用位运算 "max-classes-per-file": "off", // 允许一个文件写多个类 + "func-names": "off", // 允许具名函数 + "no-restricted-syntax": "off", // 允许for of + "no-constant-condition": "off", // 允许while(true) "import/extensions": [ "error", "ignorePackages", // 忽略 node_modules 内的包