blob: a042c36f4b4181fe5beedc84f8a7b0c11f71dd6f [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/"],
8 "extends": [
9 "eslint:recommended",
Skyler Grey4ec845c2022-08-06 10:21:50 +010010 "plugin:@typescript-eslint/strict",
11 "prettier"
Skyler Greyaa508242022-08-03 21:42:12 +010012 ],
13 "parser": "@typescript-eslint/parser",
14 "parserOptions": {
15 "ecmaVersion": "latest",
Skyler Grey4ec845c2022-08-06 10:21:50 +010016 "sourceType": "module",
17 "project": "./tsconfig.json"
Skyler Greyaa508242022-08-03 21:42:12 +010018 },
Skyler Grey4ec845c2022-08-06 10:21:50 +010019 "plugins": ["@typescript-eslint"],
Skyler Greyaa508242022-08-03 21:42:12 +010020 "rules": {
Skyler Grey4ec845c2022-08-06 10:21:50 +010021 "indent": ["error", 4],
22 "linebreak-style": ["error", "unix"],
23 "quotes": ["error", "double"],
24 "semi": ["error", "always"],
Skyler Greyaa508242022-08-03 21:42:12 +010025 "no-unused-vars": "off",
26 "@typescript-eslint/no-unused-vars": [
27 "warn",
28 {
29 "argsIgnorePattern": "^_",
30 "varsIgnorePattern": "^_",
31 "caughtErrorsIgnorePattern": "^_"
32 }
33 ],
34 "no-trailing-spaces": "error",
pineafan63fc5e22022-08-04 22:04:10 +010035 "@typescript-eslint/no-explicit-any": "error",
Skyler Grey4ec845c2022-08-06 10:21:50 +010036 "comma-dangle": ["error", "never"]
Skyler Greyaa508242022-08-03 21:42:12 +010037 }
38}