initial commit

This commit is contained in:
Sergey Krylov 2023-10-09 08:09:32 +03:00
parent 50539b200c
commit 3b2508c482
2 changed files with 3 additions and 8 deletions

View File

@ -8,7 +8,6 @@
},
"description": "",
"devDependencies": {
"confusing-browser-globals": "^1.0.11",
"eslint": "^7.32.0 || ^8.2.0"
},
"engines": {

View File

@ -5,7 +5,6 @@ module.exports = {
browser: true,
es6: true,
node: true,
},
parserOptions: {
ecmaVersion: 6,
@ -20,11 +19,9 @@ module.exports = {
'array-callback-return': ['error', { allowImplicit: true }],
'block-scoped-var': 'error',
complexity: ['off', 20],
'class-methods-use-this': ['error', {
exceptMethods: [],
}],
'class-methods-use-this': ['error', { exceptMethods: [] }],
'consistent-return': 'error',
curly: ['error', 'multi-line'],
curly: 'error',
'default-case': ['error', { commentPattern: '^no default$' }],
'default-case-last': 'error',
'default-param-last': 'error',
@ -47,9 +44,8 @@ module.exports = {
'methods',
],
}],
'no-empty-pattern': 'error',
'no-empty-static-block': 'off',
'no-empty-static-block': 'error',
'no-eq-null': 'off',
'no-eval': 'error',
'no-extend-native': 'error',