49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
"plugin:node/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/explicit-member-accessibility": "warn",
|
|
"@typescript-eslint/no-misused-promises": 0,
|
|
"@typescript-eslint/no-unused-vars": 0,
|
|
"@typescript-eslint/no-floating-promises": 0,
|
|
"@typescript-eslint/no-unsafe-assignment": 0,
|
|
"@typescript-eslint/no-unsafe-member-access": 0,
|
|
"@typescript-eslint/no-unsafe-call": 0,
|
|
"@typescript-eslint/no-unsafe-return": 0,
|
|
"max-len": [
|
|
"warn",
|
|
{
|
|
"code": 120
|
|
}
|
|
],
|
|
"comma-dangle": ["warn", "always-multiline"],
|
|
"no-console": 1,
|
|
"no-extra-boolean-cast": 0,
|
|
"semi": 1,
|
|
"indent": ["warn", 2],
|
|
"quotes": ["warn", "single"],
|
|
"node/no-process-env": 1,
|
|
"node/no-unsupported-features/es-syntax": [
|
|
"error",
|
|
{ "ignores" : ["modules"] }
|
|
],
|
|
"node/no-missing-import": 0,
|
|
"node/no-unpublished-import": 0
|
|
},
|
|
"settings": {
|
|
"node": {
|
|
"tryExtensions": [".js", ".json", ".node", ".ts"]
|
|
}
|
|
}
|
|
} |