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 | }, |
pineafan | a2e39c7 | 2023-02-21 18:37:32 +0000 | [diff] [blame^] | 7 | "ignorePatterns": ["dist/", "src/Unfinished/", "src/config/main.d.ts", "*.js"], |
Skyler Grey | 11236ba | 2022-08-08 21:13:33 +0100 | [diff] [blame] | 8 | "extends": ["eslint:recommended", "plugin:@typescript-eslint/strict", "prettier"], |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 9 | "parser": "@typescript-eslint/parser", |
| 10 | "parserOptions": { |
| 11 | "ecmaVersion": "latest", |
Skyler Grey | 4ec845c | 2022-08-06 10:21:50 +0100 | [diff] [blame] | 12 | "sourceType": "module", |
| 13 | "project": "./tsconfig.json" |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 14 | }, |
Skyler Grey | 4ec845c | 2022-08-06 10:21:50 +0100 | [diff] [blame] | 15 | "plugins": ["@typescript-eslint"], |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 16 | "rules": { |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 17 | "no-unused-vars": "off", |
| 18 | "@typescript-eslint/no-unused-vars": [ |
| 19 | "warn", |
| 20 | { |
| 21 | "argsIgnorePattern": "^_", |
| 22 | "varsIgnorePattern": "^_", |
| 23 | "caughtErrorsIgnorePattern": "^_" |
| 24 | } |
| 25 | ], |
Skyler Grey | f21323a | 2022-08-13 23:58:22 +0100 | [diff] [blame] | 26 | "@typescript-eslint/no-explicit-any": "error" |
Skyler Grey | aa50824 | 2022-08-03 21:42:12 +0100 | [diff] [blame] | 27 | } |
| 28 | } |