1 | {
|
2 | "extends": [
|
3 | "airbnb-typescript"
|
4 | ],
|
5 | "parser": "@typescript-eslint/parser",
|
6 | "parserOptions": {
|
7 | "project": "./tsconfig.eslint.json"
|
8 | },
|
9 | "plugins": [
|
10 | "@typescript-eslint",
|
11 | "import"
|
12 | ],
|
13 | "root": true,
|
14 | "rules": {
|
15 | "@typescript-eslint/explicit-function-return-type": "off",
|
16 | "@typescript-eslint/no-use-before-define": [
|
17 | "error",
|
18 | {
|
19 | "classes": true,
|
20 | "functions": false,
|
21 | "typedefs": true,
|
22 | "variables": true
|
23 | }
|
24 | ],
|
25 | "import/no-default-export": "off",
|
26 | "import/no-extraneous-dependencies": "off",
|
27 | "import/prefer-default-export": "off",
|
28 | "no-prototype-builtins": "off",
|
29 | "no-use-before-define": "off",
|
30 | "react/destructuring-assignment": "off",
|
31 | "react/jsx-filename-extension": "off",
|
32 | "react/jsx-uses-react": "off",
|
33 | "react/react-in-jsx-scope": "off",
|
34 | "unicorn/no-array-for-each": "off",
|
35 | "unicorn/prevent-abbreviations": "off"
|
36 | },
|
37 | "settings": {
|
38 | "import/core-modules": [
|
39 | "react",
|
40 | "react-dom",
|
41 | "react-router",
|
42 | "react-router-dom",
|
43 | "express"
|
44 | ]
|
45 | },
|
46 | "ignorePatterns": [
|
47 | "scaffold/**/*.(ts|js|tsx|jsx)"
|
48 | ]
|
49 | }
|