| 1 | { |
| 2 | "root": true, |
| 3 | "parser": "@typescript-eslint/parser", |
| 4 | "plugins": ["@typescript-eslint", "eslint-plugin-react", "no-barrel-files"], |
| 5 | "parserOptions": { |
| 6 | "project": ["tsconfig.json", "tsconfig.node.json"] |
| 7 | }, |
| 8 | "extends": [ |
| 9 | // "eslint:recommended", |
| 10 | // "plugin:@typescript-eslint/recommended", |
| 11 | // "plugin:@typescript-eslint/recommended-requiring-type-checking" |
| 12 | // "plugin:react/recommended" |
| 13 | ], |
| 14 | "rules": { |
| 15 | "@typescript-eslint/naming-convention": "off", |
| 16 | "@typescript-eslint/no-floating-promises": "warn", |
| 17 | "no-barrel-files/no-barrel-files": "error" |
| 18 | }, |
| 19 | "overrides": [ |
| 20 | { |
| 21 | "files": ["src/**/*.{js,ts,jsx,tsx}"] |
| 22 | } |
| 23 | ], |
| 24 | "ignorePatterns": ["dist/**/*"], |
| 25 | "env": { |
| 26 | "browser": true, |
| 27 | "node": true, |
| 28 | "es6": true |
| 29 | } |
| 30 | } |