-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
41 lines (34 loc) · 1005 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
31
32
33
34
35
36
37
38
39
40
41
{
"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"]
}
}