-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 1.15 KB
/
.eslintrc
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
{
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true,
},
"ignorePatterns": ["dist/*"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
},
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"plugins": ["prettier", "jest"],
"rules": {
"no-console": ["error", { "allow": ["warn", "error"] }],
"prettier/prettier": "error",
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"prefer-spread": "off",
"prefer-destructuring": "off",
"prefer-rest-params": "off",
"@typescript-eslint/no-var-requires": "off",
"no-inner-declarations": "off",
"no-unsafe-optional-chaining": "off",
"no-prototype-builtins": "off",
"no-case-declarations": "off",
"no-empty": "off",
"@typescript-eslint/ban-types": "off",
},
}