|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "browser": true, |
| 4 | + "node": true, |
| 5 | + "es6": true |
| 6 | + }, |
| 7 | + "parser": "@typescript-eslint/parser", |
| 8 | + "parserOptions": { |
| 9 | + "parser": "@typescript-eslint/parser", |
| 10 | + "sourceType": "module", |
| 11 | + "ecmaVersion": 2022, |
| 12 | + "ecmaFeatures": { |
| 13 | + "jsx": true |
| 14 | + } |
| 15 | + }, |
| 16 | + "extends": ["airbnb", "airbnb/hooks", "prettier"], |
| 17 | + "plugins": ["react"], |
| 18 | + "settings": { |
| 19 | + "import/resolver": { |
| 20 | + "typescript": {} |
| 21 | + } |
| 22 | + }, |
| 23 | + "rules": { |
| 24 | + "linebreak-style": 0, |
| 25 | + "arrow-parens": 0, |
| 26 | + "consistent-return": 1, |
| 27 | + "generator-star-spacing": 0, |
| 28 | + "no-nested-ternary": 0, |
| 29 | + "no-tabs": 0, |
| 30 | + "no-mixed-spaces-and-tabs": 0, |
| 31 | + "max-len": 1, |
| 32 | + "import/extensions": 0, |
| 33 | + "import/no-extraneous-dependencies": 0, |
| 34 | + "react/no-unknown-property": [ |
| 35 | + "error", |
| 36 | + { |
| 37 | + "ignore": ["css"] |
| 38 | + } |
| 39 | + ], |
| 40 | + "react/react-in-jsx-scope": 0, |
| 41 | + "react/function-component-definition": 0, |
| 42 | + "react/jsx-filename-extension": [ |
| 43 | + 2, |
| 44 | + { |
| 45 | + "extensions": [".js", ".jsx", ".ts", ".tsx"] |
| 46 | + } |
| 47 | + ], |
| 48 | + "react/prop-types": 0, |
| 49 | + "react-hooks/exhaustive-deps": 0, |
| 50 | + "react/jsx-props-no-spreading": 0, |
| 51 | + "jsx-a11y/anchor-is-valid": 0, |
| 52 | + "jsx-a11y/label-has-associated-control": 1, |
| 53 | + "jsx-a11y/no-noninteractive-element-interactions": 0, |
| 54 | + "jsx-a11y/click-events-have-key-events": 0, |
| 55 | + "jsx-a11y/no-static-element-interactions": 0 |
| 56 | + } |
| 57 | +} |
0 commit comments