mirror of https://github.com/vladmandic/human
update eslint rules
parent
303ffe0012
commit
abcc8a0221
|
@ -7,22 +7,31 @@
|
|||
"es2020": true
|
||||
},
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": { "ecmaVersion": 2020 },
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2020
|
||||
},
|
||||
"plugins": [
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"extends": [
|
||||
"airbnb-base",
|
||||
"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/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": {
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||
|
@ -50,6 +59,7 @@
|
|||
"no-mixed-operators": "off",
|
||||
"no-param-reassign":"off",
|
||||
"no-plusplus": "off",
|
||||
"no-process-exit": "off",
|
||||
"no-regex-spaces": "off",
|
||||
"no-restricted-globals": "off",
|
||||
"no-restricted-syntax": "off",
|
||||
|
@ -69,4 +79,4 @@
|
|||
"promise/no-nesting": "off",
|
||||
"radix": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue