feat: no unused disable
This commit is contained in:
@@ -4,7 +4,12 @@ module.exports = {
|
||||
browser: true,
|
||||
node: true,
|
||||
},
|
||||
extends: ['standard', 'plugin:import/errors', 'plugin:import/warnings'],
|
||||
extends: [
|
||||
'standard',
|
||||
'plugin:import/errors',
|
||||
'plugin:import/warnings',
|
||||
'plugin:eslint-comments/recommended',
|
||||
],
|
||||
plugins: ['html', 'unicorn'],
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
@@ -38,7 +43,7 @@ module.exports = {
|
||||
'no-cond-assign': ['error', 'always'],
|
||||
'func-call-spacing': ['off', 'never'],
|
||||
'key-spacing': ['error', { beforeColon: false, afterColon: true }],
|
||||
indent: [ 'error', 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 } ],
|
||||
indent: ['error', 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
|
||||
'no-restricted-syntax': [
|
||||
'error',
|
||||
'DebuggerStatement',
|
||||
|
@@ -28,6 +28,7 @@
|
||||
"eslint-plugin-unicorn": "^23.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.11.0"
|
||||
"eslint": "^7.11.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user