initial commit
This commit is contained in:
parent
50539b200c
commit
3b2508c482
@ -8,7 +8,6 @@
|
|||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"confusing-browser-globals": "^1.0.11",
|
|
||||||
"eslint": "^7.32.0 || ^8.2.0"
|
"eslint": "^7.32.0 || ^8.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@ -5,7 +5,6 @@ module.exports = {
|
|||||||
browser: true,
|
browser: true,
|
||||||
es6: true,
|
es6: true,
|
||||||
node: true,
|
node: true,
|
||||||
|
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 6,
|
ecmaVersion: 6,
|
||||||
@ -20,11 +19,9 @@ module.exports = {
|
|||||||
'array-callback-return': ['error', { allowImplicit: true }],
|
'array-callback-return': ['error', { allowImplicit: true }],
|
||||||
'block-scoped-var': 'error',
|
'block-scoped-var': 'error',
|
||||||
complexity: ['off', 20],
|
complexity: ['off', 20],
|
||||||
'class-methods-use-this': ['error', {
|
'class-methods-use-this': ['error', { exceptMethods: [] }],
|
||||||
exceptMethods: [],
|
|
||||||
}],
|
|
||||||
'consistent-return': 'error',
|
'consistent-return': 'error',
|
||||||
curly: ['error', 'multi-line'],
|
curly: 'error',
|
||||||
'default-case': ['error', { commentPattern: '^no default$' }],
|
'default-case': ['error', { commentPattern: '^no default$' }],
|
||||||
'default-case-last': 'error',
|
'default-case-last': 'error',
|
||||||
'default-param-last': 'error',
|
'default-param-last': 'error',
|
||||||
@ -47,9 +44,8 @@ module.exports = {
|
|||||||
'methods',
|
'methods',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
|
|
||||||
'no-empty-pattern': 'error',
|
'no-empty-pattern': 'error',
|
||||||
'no-empty-static-block': 'off',
|
'no-empty-static-block': 'error',
|
||||||
'no-eq-null': 'off',
|
'no-eq-null': 'off',
|
||||||
'no-eval': 'error',
|
'no-eval': 'error',
|
||||||
'no-extend-native': 'error',
|
'no-extend-native': 'error',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user