2020-12-23 17:26:55 +01:00
|
|
|
{
|
|
|
|
"globals": {},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"node": true,
|
|
|
|
"es2020": true
|
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
2022-08-23 14:26:07 +02:00
|
|
|
"parserOptions": { "ecmaVersion": "latest" },
|
2021-06-04 15:17:04 +02:00
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
2020-12-23 17:26:55 +01:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:node/recommended",
|
|
|
|
"plugin:promise/recommended",
|
2021-06-04 15:17:04 +02:00
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
2020-12-23 17:26:55 +01:00
|
|
|
"airbnb-base"
|
|
|
|
],
|
|
|
|
"ignorePatterns": [ "node_modules", "types" ],
|
|
|
|
"rules": {
|
2021-06-04 15:17:04 +02:00
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/ban-types": "off",
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
|
|
"@typescript-eslint/no-var-requires": "off",
|
2024-09-10 17:30:23 +02:00
|
|
|
"@typescript-eslint/no-empty-object-type": "off",
|
2020-12-23 17:26:55 +01:00
|
|
|
"camelcase": "off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"class-methods-use-this": "off",
|
2021-12-01 13:51:57 +01:00
|
|
|
"default-param-last": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"dot-notation": "off",
|
|
|
|
"func-names": "off",
|
|
|
|
"guard-for-in": "off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"import/extensions": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"import/no-extraneous-dependencies": "off",
|
|
|
|
"import/no-named-as-default": "off",
|
|
|
|
"import/no-unresolved": "off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"import/prefer-default-export": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"lines-between-class-members": "off",
|
|
|
|
"max-len": [1, 275, 3],
|
|
|
|
"newline-per-chained-call": "off",
|
|
|
|
"no-async-promise-executor": "off",
|
2020-12-23 17:26:55 +01:00
|
|
|
"no-await-in-loop": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"no-bitwise": "off",
|
|
|
|
"no-case-declarations":"off",
|
2020-12-23 17:26:55 +01:00
|
|
|
"no-continue": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"no-loop-func": "off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"no-mixed-operators": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"no-param-reassign":"off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"no-plusplus": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"no-regex-spaces": "off",
|
|
|
|
"no-restricted-globals": "off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"no-restricted-syntax": "off",
|
|
|
|
"no-return-assign": "off",
|
|
|
|
"no-underscore-dangle": "off",
|
2021-12-07 03:43:06 +01:00
|
|
|
"no-promise-executor-return": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"node/no-missing-import": ["error", { "tryExtensions": [".js", ".json", ".ts"] }],
|
|
|
|
"node/no-unpublished-import": "off",
|
|
|
|
"node/no-unpublished-require": "off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"node/no-unsupported-features/es-syntax": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"no-lonely-if": "off",
|
|
|
|
"node/shebang": "off",
|
|
|
|
"object-curly-newline": "off",
|
2020-12-23 18:58:47 +01:00
|
|
|
"prefer-destructuring": "off",
|
2021-06-04 15:17:04 +02:00
|
|
|
"prefer-template":"off",
|
|
|
|
"promise/always-return": "off",
|
|
|
|
"promise/catch-or-return": "off",
|
|
|
|
"promise/no-nesting": "off",
|
|
|
|
"radix": "off"
|
2020-12-23 17:26:55 +01:00
|
|
|
}
|
|
|
|
}
|