This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
54 lines (52 loc) · 1.54 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"import",
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"google",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"comma-dangle": ["error", "never"],
"indent": ["error", 4, {
"SwitchCase": 1
}],
"max-len": ["error", 160],
"new-cap": "off",
"no-invalid-this": "off",
"no-warning-comments": "warn",
"padded-blocks": "off",
"quote-props": ["error", "as-needed"],
"require-jsdoc": "off",
"semi": "off",
"import/no-default-export": "error",
"import/order": ["warn", {
"newlines-between": "always"
}],
"@typescript-eslint/ban-ts-comment": ["error", {
"ts-ignore": "allow-with-description"
}],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}],
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unused-vars": ["warn", {
"argsIgnorePattern": "^_"
}],
"@typescript-eslint/semi": ["error"]
}
}