-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
47 lines (47 loc) · 1.15 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"google",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/no-empty-interface": ["error",{ "allowSingleExtends": true }],
"new-cap": ["error", { "capIsNew": false }],
"no-prototype-builtins": "off",
"no-self-assign": "off",
"no-empty": "off",
"no-case-declarations": "off",
"consistent-return": "off",
"arrow-body-style": "off",
"camelcase": "off",
"quotes": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["warn"],
"comma-dangle": "off",
"no-bitwise": "off",
"no-use-before-define": "off",
"no-extra-boolean-cast": "off",
"no-empty-pattern": "off",
"curly": "off",
"no-unreachable": "off"
},
"ignorePatterns": [
"dist/",
"node_modules/"
]
}