blob: 694dce5c099ca1dafddb8ac8a98f95746ab92914 [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",
10 "plugin:@typescript-eslint/recommended"
11 ],
12 "parser": "@typescript-eslint/parser",
13 "parserOptions": {
14 "ecmaVersion": "latest",
15 "sourceType": "module"
16 },
17 "plugins": [
18 "@typescript-eslint"
19 ],
20 "rules": {
21 "indent": [
22 "error",
23 4
24 ],
25 "linebreak-style": [
26 "error",
27 "unix"
28 ],
29 "quotes": [
30 "error",
31 "double"
32 ],
33 "semi": [
34 "error",
35 "always"
36 ],
37 "no-unused-vars": "off",
38 "@typescript-eslint/no-unused-vars": [
39 "warn",
40 {
41 "argsIgnorePattern": "^_",
42 "varsIgnorePattern": "^_",
43 "caughtErrorsIgnorePattern": "^_"
44 }
45 ],
46 "no-trailing-spaces": "error",
pineafan63fc5e22022-08-04 22:04:10 +010047 "@typescript-eslint/no-explicit-any": "error",
48 "no-constant-condition": 0,
49 "comma-dangle": [
50 "error",
51 "never"
52 ]
Skyler Greyaa508242022-08-03 21:42:12 +010053 }
54}