1 | {
|
2 | "root": true,
|
3 | "parser": "@typescript-eslint/parser",
|
4 | "extends": [
|
5 | "eslint:recommended",
|
6 | "plugin:@typescript-eslint/eslint-recommended",
|
7 | "plugin:@typescript-eslint/recommended",
|
8 | "airbnb-typescript/base",
|
9 | "plugin:import/errors",
|
10 | "plugin:import/warnings",
|
11 | "plugin:import/typescript",
|
12 | "prettier",
|
13 | "prettier/@typescript-eslint"
|
14 | ],
|
15 | "plugins": ["@typescript-eslint", "import", "prettier"],
|
16 | "env": {
|
17 | "node": true
|
18 | },
|
19 | "parserOptions": {
|
20 | "ecmaVersion": 2017,
|
21 | "sourceType": "module"
|
22 | },
|
23 | "rules": {
|
24 | "prettier/prettier": "error",
|
25 | "no-await-in-loop": "warn",
|
26 | "class-methods-use-this": "off",
|
27 | "@typescript-eslint/no-inferrable-types": "off",
|
28 | "@typescript-eslint/no-var-requires": "off",
|
29 | "@typescript-eslint/ban-ts-ignore": "off",
|
30 | "import/no-cycle": "off",
|
31 | "import/prefer-default-export": "off",
|
32 | "no-param-reassign": "off",
|
33 | "prefer-destructuring": "off"
|
34 | },
|
35 | "overrides": [
|
36 | {
|
37 | "files": ["src/**/*.ts"],
|
38 | "parser": "@typescript-eslint/parser",
|
39 | "rules": {
|
40 | "no-undef": "off",
|
41 | "import/no-unresolved": "off"
|
42 | }
|
43 | }
|
44 | ],
|
45 | "settings": {
|
46 | "import/resolver": {
|
47 | "node": {
|
48 | "paths": ["src"],
|
49 | "extensions": [".js", ".jsx", ".ts", ".tsx"],
|
50 | "moduleDirectory": ["node_modules"]
|
51 | }
|
52 | }
|
53 | }
|
54 | } |
\ | No newline at end of file |