blob: 59c8e80d3fab33f0b21290b19ac7cc9840b0c805 [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 },
7 "ignorePatterns": ["dist/"],
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 Grey67c1f742022-08-06 12:51:40 +010026 "@typescript-eslint/no-explicit-any": "error"
Skyler Greyaa508242022-08-03 21:42:12 +010027 }
28}