-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.json
More file actions
39 lines (39 loc) · 985 Bytes
/
eslint.json
File metadata and controls
39 lines (39 loc) · 985 Bytes
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
{
"defaultSeverity": "warning",
"extends": ["tslint-eslint-rules", "tslint-config-airbnb", "tslint-react"],
"jsRules": {},
"rules": {
"align": [true, "parameters", "statements", "members", "elements"],
"curly": [false],
"indent": false, // use ter-indent instead
"jsx-boolean-value": false,
"jsx-no-multiline-js": false,
"max-line-length": false, // use ter-max-len instead
"no-boolean-literal-compare": false,
"no-duplicate-imports": [true, { "allow-namespace-imports": true }],
"no-increment-decrement": false,
"semicolon": [true, "always", "ignore-bound-class-methods"],
"space-before-function-paren": false,
"ter-arrow-parens": false,
"ter-indent": [
true,
"tab",
{
"SwitchCase": 1
}
],
"ter-max-len": [
true,
{
"code": 120,
"tabWidth": 2,
"ignoreImports": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreUrls": true
}
],
"trailing-comma": false
},
"rulesDirectory": []
}