forked from DimensionDev/Maskbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
32 lines (32 loc) · 968 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": ["plugin:prettier/recommended"],
"env": {
"node": true
},
"plugins": ["unused-imports"],
"rules": {
"no-debugger": "error",
"no-plusplus": "error",
"no-bitwise": "error",
"no-new-wrappers": "error",
"constructor-super": "error",
"no-redeclare": "warn",
"no-eval": "error",
"no-template-curly-in-string": "error",
"no-return-await": "error",
"no-sparse-arrays": "error",
"dot-notation": "error",
"no-fallthrough": "error",
"prefer-const": "warn",
"eqeqeq": "error",
"no-extra-bind": "error",
"use-isnan": "error",
"no-restricted-globals": ["error", "event", "name", "length", "closed"],
"@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports-ts": "error"
}
}