-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
30 lines (30 loc) · 861 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"env": {
"es6": true,
"browser": true
},
"rules": {
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-parameter-properties": "off",
"comma-dangle": ["error", "always-multiline"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"quotes": ["error", "single"],
"no-shadow": ["error", { "hoist": "all" }],
"semi": ["error", "always"],
"no-cond-assign": ["error", "always"],
"no-console": "off",
"no-undef": "off"
}
}