-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
40 lines (40 loc) · 1.2 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
{
"root": true,
"extends": ["standard"],
"parserOptions": {
"project": ["tsconfig.json"]
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "unused-imports"],
"rules": {
"semi": "off",
"no-console": "error",
"no-unused-vars": "off",
"no-return-assign": "off",
"no-redeclare": "off",
"comma-dangle": ["error", "only-multiline"],
"@typescript-eslint/no-floating-promises": "error",
"no-use-before-define": "off",
"no-useless-constructor": "off",
"@typescript-eslint/no-use-before-define": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-redeclare": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-import-type-side-effects": "error",
"import/consistent-type-specifier-style": "error",
"import/no-duplicates": "error",
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "comma", // 'none' or 'semi' or 'comma'
"requireLast": true
},
"singleline": {
"delimiter": "semi", // 'semi' or 'comma'
"requireLast": false
}
}
]
}
}