| 1 | { |
| 2 | "parser": "@typescript-eslint/parser", |
| 3 | "parserOptions": { |
| 4 | "ecmaVersion": 6, |
| 5 | "sourceType": "module" |
| 6 | }, |
| 7 | "plugins": ["@typescript-eslint", "import"], |
| 8 | "rules": { |
| 9 | "no-negated-condition": "warn", |
| 10 | "@typescript-eslint/naming-convention": "off", |
| 11 | "@typescript-eslint/no-floating-promises": "warn", |
| 12 | "@typescript-eslint/semi": "warn", |
| 13 | "@typescript-eslint/no-misused-promises": "error", |
| 14 | "curly": "warn", |
| 15 | "eqeqeq": "warn", |
| 16 | "no-throw-literal": "warn", |
| 17 | "semi": "off", |
| 18 | "import/order": [ |
| 19 | "warn", |
| 20 | { |
| 21 | "groups": [ |
| 22 | "builtin", |
| 23 | "external", |
| 24 | "internal", |
| 25 | "parent", |
| 26 | "sibling", |
| 27 | "index", |
| 28 | "object", |
| 29 | "type" |
| 30 | ], |
| 31 | "alphabetize": { |
| 32 | "order": "asc", |
| 33 | "caseInsensitive": true |
| 34 | }, |
| 35 | "newlines-between": "always" |
| 36 | } |
| 37 | ] |
| 38 | }, |
| 39 | "ignorePatterns": ["out", "dist", "**/*.d.ts"] |
| 40 | } |