parent
fbaeff658b
commit
f53b29efd4
@ -1,31 +1,87 @@
|
|||||||
{
|
{
|
||||||
"env": {
|
"settings": {
|
||||||
"commonjs": true,
|
"import/resolver": {
|
||||||
"es6": true,
|
"node": {
|
||||||
"node": true
|
"extensions": [
|
||||||
},
|
".js",
|
||||||
"extends": [
|
".jsx",
|
||||||
"airbnb-base"
|
".ts",
|
||||||
|
".tsx"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"commonjs": true,
|
||||||
|
"es6": true,
|
||||||
|
"node": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"airbnb-base",
|
||||||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
|
"plugin:@typescript-eslint/recommended"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
|
"prefer-arrow-functions"
|
||||||
|
],
|
||||||
|
"globals": {
|
||||||
|
"Atomics": "readonly",
|
||||||
|
"SharedArrayBuffer": "readonly"
|
||||||
|
},
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 2018,
|
||||||
|
"project": [
|
||||||
|
"./tsconfig.eslint.json"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"func-style": [
|
||||||
|
"error",
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
"prefer-arrow-functions/prefer-arrow-functions": [
|
||||||
|
"warn",
|
||||||
|
{
|
||||||
|
"classPropertiesAllowed": false,
|
||||||
|
"disallowPrototype": false,
|
||||||
|
"returnStyle": "unchanged",
|
||||||
|
"singleReturnOnly": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"require-await":["error"],
|
||||||
|
"global-require": 0,
|
||||||
|
"no-void": 0,
|
||||||
|
"@typescript-eslint/no-floating-promises": [
|
||||||
|
"error"
|
||||||
],
|
],
|
||||||
"globals": {
|
"@typescript-eslint/no-var-requires": 0,
|
||||||
"Atomics": "readonly",
|
"class-methods-use-this": 0,
|
||||||
"SharedArrayBuffer": "readonly"
|
"no-case-declarations": 0,
|
||||||
},
|
"camelcase": 0,
|
||||||
"parserOptions": {
|
"jsx-a11y/click-events-have-key-events": 0,
|
||||||
"ecmaVersion": 2020
|
"no-underscore-dangle": [
|
||||||
},
|
"error",
|
||||||
"rules": {
|
{
|
||||||
"global-require":0,
|
"allow": [
|
||||||
"class-methods-use-this": 0,
|
"_id"
|
||||||
"no-case-declarations": 0,
|
|
||||||
"camelcase": 0,
|
|
||||||
"jsx-a11y/click-events-have-key-events": 0,
|
|
||||||
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
|
|
||||||
"max-len": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"code": 120
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"max-len": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"code": 120
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"import/extensions": [
|
||||||
|
"error",
|
||||||
|
"ignorePackages",
|
||||||
|
{
|
||||||
|
"js": "never",
|
||||||
|
"jsx": "never",
|
||||||
|
"ts": "never",
|
||||||
|
"tsx": "never"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue