-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
52 lines (44 loc) · 1.25 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": [
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"no-console": "error",
"no-trailing-spaces": "error",
"max-len": [1, 80, 2, {
"ignorePattern": "^import\\s.+\\sfrom\\s.+;$",
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}],
"@typescript-eslint/type-annotation-spacing": ["error"],
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-nocheck": "allow-with-description",
"ts-ignore": "allow-with-description"
}
],
"indent": "off",
"@typescript-eslint/indent": ["error", 2],
"semi": "off",
"@typescript-eslint/semi": ["error", "always"],
"quotes": "off",
"@typescript-eslint/quotes": ["error", "double"],
"object-curly-spacing": "off",
"@typescript-eslint/object-curly-spacing": ["error", "always"],
"sort-imports": [
"warn",
{
"ignoreCase": false,
"ignoreDeclarationSort": false,
"ignoreMemberSort": true,
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"],
"allowSeparatedGroups": true
}
]
}
}