blob: 165e759f84a2bb3a96f681bc0dde61c48aebfe34 [file] [log] [blame]
Skyler Greyaa508242022-08-03 21:42:12 +01001{
2 "env": {
3 "browser": false,
pineafan63fc5e22022-08-04 22:04:10 +01004 "es2020": true,
5 "node": true
Skyler Greyaa508242022-08-03 21:42:12 +01006 },
Samuel Shuert27bf3cd2023-03-03 15:51:25 -05007 "ignorePatterns": ["dist/", "src/Unfinished/", "src/config/main.d.ts", "*.js"],
Skyler Grey11236ba2022-08-08 21:13:33 +01008 "extends": ["eslint:recommended", "plugin:@typescript-eslint/strict", "prettier"],
Skyler Greyaa508242022-08-03 21:42:12 +01009 "parser": "@typescript-eslint/parser",
10 "parserOptions": {
11 "ecmaVersion": "latest",
Skyler Grey4ec845c2022-08-06 10:21:50 +010012 "sourceType": "module",
13 "project": "./tsconfig.json"
Skyler Greyaa508242022-08-03 21:42:12 +010014 },
Skyler Grey4ec845c2022-08-06 10:21:50 +010015 "plugins": ["@typescript-eslint"],
Skyler Greyaa508242022-08-03 21:42:12 +010016 "rules": {
Skyler Greyaa508242022-08-03 21:42:12 +010017 "no-unused-vars": "off",
18 "@typescript-eslint/no-unused-vars": [
19 "warn",
20 {
21 "argsIgnorePattern": "^_",
22 "varsIgnorePattern": "^_",
23 "caughtErrorsIgnorePattern": "^_"
24 }
25 ],
Skyler Greyf21323a2022-08-13 23:58:22 +010026 "@typescript-eslint/no-explicit-any": "error"
Skyler Greyaa508242022-08-03 21:42:12 +010027 }
28}