-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
29 lines (29 loc) · 886 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
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"globalThis": "readonly"
},
"rules": {
"no-console": "off",
"no-useless-escape": "off",
"@typescript-eslint/no-unused-vars": "warn",
"no-unused-vars": "warn",
"no-undef": "warn",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"semi": ["error", "never"],
"no-unreachable": ["error"],
"no-unexpected-multiline": ["error"],
"prefer-const": "warn"
}
}