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