-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathtslint.json
41 lines (41 loc) · 1.19 KB
/
tslint.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
{
"extends": ["standard"],
"env": {
"jest": true,
"browser": true
},
"globals": {
"fetch": true
},
"rules":{
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline"
}],
"jsx-quotes": ["error", "prefer-double"],
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": false }],
"prefer-const": ["error"],
"no-var": ["error"],
"max-len": ["error", 100, 2, {
"ignoreUrls": true,
"ignoreComments": false,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}],
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "block-like", "next": "block-like" }
],
"quote-props": ["error", "as-needed", { "keywords": false, "unnecessary": true, "numbers": false }],
"func-style": ["error", "expression"],
"import/order": ["error", {
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
"newlines-between": "never"
}],
"strict": 0
}
}