|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "browser": true, |
| 4 | + "es2021": true |
| 5 | + }, |
| 6 | + "extends": [ |
| 7 | + "plugin:react/recommended", |
| 8 | + "airbnb-typescript", |
| 9 | + "plugin:react/jsx-runtime", |
| 10 | + "plugin:prettier/recommended" |
| 11 | + ], |
| 12 | + "parser": "@typescript-eslint/parser", |
| 13 | + "parserOptions": { |
| 14 | + "ecmaFeatures": { |
| 15 | + "jsx": true |
| 16 | + }, |
| 17 | + "ecmaVersion": 11, |
| 18 | + "project": "./tsconfig.json", |
| 19 | + "sourceType": "module" |
| 20 | + }, |
| 21 | + "plugins": ["react", "@typescript-eslint"], |
| 22 | + "settings": { |
| 23 | + "react": { |
| 24 | + "pragma": "React", |
| 25 | + "fragment": "Fragment", |
| 26 | + "version": "detect" |
| 27 | + } |
| 28 | + }, |
| 29 | + "rules": { |
| 30 | + "prettier/prettier": "off", |
| 31 | + "react/jsx-filename-extension": "off", |
| 32 | + "import/no-unresolved": "off", |
| 33 | + "import/extensions": "off", |
| 34 | + "react/display-name": "off", |
| 35 | + "@typescript-eslint/comma-dangle": "off", |
| 36 | + "import/prefer-default-export": "off", |
| 37 | + "jsx-a11y/anchor-is-valid": "off", |
| 38 | + "comma-dangle": "off", |
| 39 | + "max-len": "off", |
| 40 | + "no-console": "off", |
| 41 | + "no-param-reassign": "off", |
| 42 | + "no-plusplus": "off", |
| 43 | + "no-return-assign": "off", |
| 44 | + "object-curly-newline": "off", |
| 45 | + "react/jsx-props-no-spreading": "off", |
| 46 | + "react/react-in-jsx-scope": "off", |
| 47 | + "react/require-default-props": "off", |
| 48 | + "typescript-eslint/no-unused-vars": "off", |
| 49 | + "import/no-extraneous-dependencies": "off", |
| 50 | + "react/no-unescaped-entities": "off", |
| 51 | + "react/forbid-prop-types": "off", |
| 52 | + "react/jsx-max-props-per-line": [ |
| 53 | + 1, |
| 54 | + { |
| 55 | + "maximum": 2, |
| 56 | + "when": "multiline" |
| 57 | + } |
| 58 | + ], |
| 59 | + "indent": "off", |
| 60 | + "@typescript-eslint/indent": [0], |
| 61 | + "no-use-before-define": "off", |
| 62 | + "@typescript-eslint/no-use-before-define": ["off"], |
| 63 | + "@typescript-eslint/no-unused-vars": ["off"], |
| 64 | + "@typescript-eslint/no-shadow": ["off"], |
| 65 | + "@typescript-eslint/dot-notation": ["off"], |
| 66 | + "react/prop-types": ["off"], |
| 67 | + "@typescript-eslint/naming-convention": ["off"] |
| 68 | + } |
| 69 | +} |
0 commit comments