blob: 7db4826ed98d701da8a29dd011e6fff1a8d3abe4 [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 },
pineafana2e39c72023-02-21 18:37:32 +00007 "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 Greyf4f21c42023-03-08 14:36:29 +000026 "@typescript-eslint/no-explicit-any": "error",
27 "@typescript-eslint/no-misused-promises": "error",
28 "@typescript-eslint/no-floating-promises": "error"
Skyler Greyaa508242022-08-03 21:42:12 +010029 }
30}