Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | { |
| 2 | "extends": [ |
| 3 | "eslint:recommended", |
| 4 | "plugin:react/recommended", |
| 5 | "google", |
| 6 | "plugin:@typescript-eslint/recommended", |
| 7 | "prettier", |
| 8 | "plugin:css-modules/recommended" |
| 9 | ], |
| 10 | "plugins": ["react", "css-modules", "jsx-a11y", "@typescript-eslint"], |
| 11 | "env": { |
| 12 | "es6": true |
| 13 | }, |
| 14 | "parser": "@typescript-eslint/parser", |
| 15 | "parserOptions": { |
| 16 | "ecmaFeatures": { |
| 17 | "jsx": true |
| 18 | }, |
| 19 | "ecmaVersion": 12, |
| 20 | "sourceType": "module" |
| 21 | }, |
| 22 | "settings": { |
| 23 | "react": { |
| 24 | "version": "detect" |
| 25 | } |
| 26 | }, |
| 27 | "rules": { |
| 28 | "react/display-name": "off" |
| 29 | }, |
| 30 | "overrides": [ |
| 31 | { |
| 32 | "files": ["*.ts", "*.tsx"], |
| 33 | "rules": { |
| 34 | "valid-jsdoc": ["error", { |
| 35 | "requireReturnType": false, |
| 36 | "requireParamType": false, |
| 37 | "requireReturn": false |
| 38 | }] |
| 39 | } |
| 40 | } |
| 41 | ] |
| 42 | } |