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", |
Skyler Grey | 4ec845c | 2022-08-06 10:21:50 +0100 | [diff] [blame] | 10 | "plugin:@typescript-eslint/strict", |
| 11 | "prettier" |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 12 | ], |
| 13 | "parser": "@typescript-eslint/parser", |
| 14 | "parserOptions": { |
| 15 | "ecmaVersion": "latest", |
Skyler Grey | 4ec845c | 2022-08-06 10:21:50 +0100 | [diff] [blame] | 16 | "sourceType": "module", |
| 17 | "project": "./tsconfig.json" |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 18 | }, |
Skyler Grey | 4ec845c | 2022-08-06 10:21:50 +0100 | [diff] [blame] | 19 | "plugins": ["@typescript-eslint"], |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 20 | "rules": { |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 21 | "no-unused-vars": "off", |
| 22 | "@typescript-eslint/no-unused-vars": [ |
| 23 | "warn", |
| 24 | { |
| 25 | "argsIgnorePattern": "^_", |
| 26 | "varsIgnorePattern": "^_", |
| 27 | "caughtErrorsIgnorePattern": "^_" |
| 28 | } |
| 29 | ], |
Skyler Grey | 67c1f74 | 2022-08-06 12:51:40 +0100 | [diff] [blame^] | 30 | "@typescript-eslint/no-explicit-any": "error" |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 31 | } |
| 32 | } |