| { |
| "plugins": ["prettier", "@typescript-eslint"], |
| "extends": ["airbnb-typescript", "react-app", "prettier"], |
| "parser": "@typescript-eslint/parser", |
| "parserOptions": { |
| "project": "./tsconfig.json" |
| }, |
| "settings": { |
| "import/resolver": { |
| "typescript": { |
| "alwaysTryTypes": true |
| } |
| } |
| }, |
| "rules": { |
| "object-curly-spacing": ["warn", "always"], |
| "no-unused-vars": [ |
| "warn", |
| { |
| "vars": "all", |
| "args": "none" |
| } |
| ], |
| "@typescript-eslint/no-unused-vars": [ |
| "warn", |
| { |
| "vars": "all", |
| "args": "none" |
| } |
| ], |
| "max-len": [ |
| "warn", |
| { |
| "code": 120, |
| "ignoreStrings": true, |
| "ignoreTemplateLiterals": true, |
| "ignoreComments": true |
| } |
| ], |
| "no-plusplus": "off", |
| "func-names": "off", |
| "no-param-reassign": "off", |
| "react/no-array-index-key": "off", |
| "react/jsx-key": "error", |
| "import/no-extraneous-dependencies": [ |
| "error", |
| { |
| "devDependencies": [ |
| "**/*.test.js", |
| "**/*.test.jsx", |
| "**/*.test.ts", |
| "**/*.test.tsx", |
| "src/tests/**/*" |
| ] |
| } |
| ], |
| "react/jsx-props-no-spreading": "off", |
| "import/prefer-default-export": "off", |
| "react/jsx-boolean-value": "off", |
| "react/prop-types": "off", |
| "react/no-unescaped-entities": "off", |
| "react/jsx-one-expression-per-line": "off", |
| "react/jsx-wrap-multilines": "off", |
| "react/destructuring-assignment": "off" |
| } |
| } |