4、The "xxx" component has been registered but not used (vue/no-unused-components) 注册了组件,但没有用到 5、Duplicate key 'xxx' (no-dupe-keys) data重复声明 6、Identifier 'xx_x' is not in camel case (camelcase) js里变量没有使用驼峰 7、'xxx' is not defined (no-undef) 引用了未定...
'no-useless-call': 2, // 标记使用情况,Function.prototype.call()并且Function.prototype.apply()可以用正常的函数调用来替代 'no-useless-computed-key': 2, // 禁止不必要地使用计算属性键 'no-useless-constructor': 2, // 在不改变类的工作方式的情况下安全地移除的类构造函数 'no-useless-escape': ...
'no-useless-call': 2, // 标记使用情况,Function.prototype.call()并且Function.prototype.apply()可以用正常的函数调用来替代 'no-useless-computed-key': 2, // 禁止不必要地使用计算属性键 'no-useless-constructor': 2, // 在不改变类的工作方式的情况下安全地移除的类构造函数 'no-useless-escape': ...
no-array-constructor": [ "warn" ], "no-caller": "error", "no-cond-assign": "error", "no-const-assign": [ "warn" ], "no-control-regex": [ "warn" ], "no-delete-var": [ "warn" ], "no-dupe-args": [ "warn" ], "no-dupe-class-members": [ "off" ], "no-dupe-key...
[ "error" ], "no-delete-var": [ "error" ], "no-dupe-args": [ "error" ], "no-dupe-class-members": [ "error" ], "no-dupe-else-if": [ "error" ], "no-dupe-keys": [ "error" ], "no-duplicate-case": [ "error" ], "no-empty": [ "error" ], "no-empty-character-...
"no-dupe-keys": 2,//在创建对象字面量时不允许键重复 {a:1,a:1} "no-dupe-args": 2,//函数参数不能重复 "no-duplicate-case": 2,//switch中的case标签不能重复 "no-else-return": 2,//如果if语句里面有return,后面不能跟else语句
'no-useless-call' (remaining=178) 2020-09-01T19:40:18.401Z eslint:rules Loading rule 'no-useless-catch' (remaining=177) 2020-09-01T19:40:18.402Z eslint:rules Loading rule 'no-useless-computed-key' (remaining=176) 2020-09-01T19:40:18.402Z eslint:rules Loading rule 'no-useless-concat...
['error', { 'consistent': true }], 'one-var': ['error', { 'initialized': 'never', }], 'one-var-declaration-per-line': ['error', 'initializations'], 'prefer-destructuring': 0, // allow debugger during development 'no-debugger': isDev ? 0 : 2, 'no-console': isDev ? 0 : ...
I couldn't run the lint test with --fix and I am getting the following error. Run command > esw -c .eslintrc ./src '.js, .jsx' --color --fix Error Invalid count value RangeError: Invalid count value at String.repeat (native) at report (/...