mirror of https://github.com/vladmandic/human
update eslint rules
parent
303ffe0012
commit
abcc8a0221
|
@ -7,22 +7,31 @@
|
||||||
"es2020": true
|
"es2020": true
|
||||||
},
|
},
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
"parserOptions": { "ecmaVersion": 2020 },
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 2020
|
||||||
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@typescript-eslint"
|
"@typescript-eslint"
|
||||||
],
|
],
|
||||||
"extends": [
|
"extends": [
|
||||||
|
"airbnb-base",
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
"plugin:import/errors",
|
|
||||||
"plugin:import/warnings",
|
|
||||||
"plugin:node/recommended",
|
|
||||||
"plugin:promise/recommended",
|
|
||||||
"plugin:json/recommended-with-comments",
|
|
||||||
"plugin:@typescript-eslint/eslint-recommended",
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"airbnb-base"
|
"plugin:import/errors",
|
||||||
|
"plugin:import/warnings",
|
||||||
|
"plugin:json/recommended-with-comments",
|
||||||
|
"plugin:node/recommended",
|
||||||
|
"plugin:promise/recommended"
|
||||||
|
],
|
||||||
|
"ignorePatterns": [
|
||||||
|
"assets",
|
||||||
|
"demo/helpers",
|
||||||
|
"dist",
|
||||||
|
"media",
|
||||||
|
"models",
|
||||||
|
"node_modules"
|
||||||
],
|
],
|
||||||
"ignorePatterns": [ "dist", "assets", "media", "models", "node_modules", "demo/helpers" ],
|
|
||||||
"rules": {
|
"rules": {
|
||||||
"@typescript-eslint/ban-ts-comment": "off",
|
"@typescript-eslint/ban-ts-comment": "off",
|
||||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||||
|
@ -50,6 +59,7 @@
|
||||||
"no-mixed-operators": "off",
|
"no-mixed-operators": "off",
|
||||||
"no-param-reassign":"off",
|
"no-param-reassign":"off",
|
||||||
"no-plusplus": "off",
|
"no-plusplus": "off",
|
||||||
|
"no-process-exit": "off",
|
||||||
"no-regex-spaces": "off",
|
"no-regex-spaces": "off",
|
||||||
"no-restricted-globals": "off",
|
"no-restricted-globals": "off",
|
||||||
"no-restricted-syntax": "off",
|
"no-restricted-syntax": "off",
|
||||||
|
@ -69,4 +79,4 @@
|
||||||
"promise/no-nesting": "off",
|
"promise/no-nesting": "off",
|
||||||
"radix": "off"
|
"radix": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue