Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 1 | { |
| 2 | "env": { |
| 3 | "browser": false, |
| 4 | "es2021": true |
| 5 | }, |
| 6 | "ignorePatterns": ["dist/"], |
| 7 | "extends": [ |
| 8 | "eslint:recommended", |
| 9 | "plugin:@typescript-eslint/recommended" |
| 10 | ], |
| 11 | "parser": "@typescript-eslint/parser", |
| 12 | "parserOptions": { |
| 13 | "ecmaVersion": "latest", |
| 14 | "sourceType": "module" |
| 15 | }, |
| 16 | "plugins": [ |
| 17 | "@typescript-eslint" |
| 18 | ], |
| 19 | "rules": { |
| 20 | "indent": [ |
| 21 | "error", |
| 22 | 4 |
| 23 | ], |
| 24 | "linebreak-style": [ |
| 25 | "error", |
| 26 | "unix" |
| 27 | ], |
| 28 | "quotes": [ |
| 29 | "error", |
| 30 | "double" |
| 31 | ], |
| 32 | "semi": [ |
| 33 | "error", |
| 34 | "always" |
| 35 | ], |
| 36 | "no-unused-vars": "off", |
| 37 | "@typescript-eslint/no-unused-vars": [ |
| 38 | "warn", |
| 39 | { |
| 40 | "argsIgnorePattern": "^_", |
| 41 | "varsIgnorePattern": "^_", |
| 42 | "caughtErrorsIgnorePattern": "^_" |
| 43 | } |
| 44 | ], |
| 45 | "no-trailing-spaces": "error", |
| 46 | "@typescript-eslint/no-explicit-any": "error" |
| 47 | } |
| 48 | } |