-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
26 lines (26 loc) · 1009 Bytes
/
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
{
"extends": [ "tslint-config-prettier", "tslint-react", "tslint-config-airbnb" ],
"linterOptions": {
"include": [
"app/javascript/**/*.ts",
"app/javascript/**/*.tsx"
],
"exclude": [
"node_modules/**/*"
]
},
"rules": {
"variable-name": [ true, "ban-keywords", "check-format", "allow-pascal-case", "allow-leading-underscore" ],
"jsx-boolean-value": [ true, "never" ],
"semicolon": [ true, "always", "ignore-interfaces", "strict-bound-class-methods" ],
"align": [ true, "parameters", "statements", "members", "elements" ],
"ter-indent": [ true, 2 ],
"ter-arrow-parens": [ true, "always" ],
"no-trailing-whitespace": [ true, "ignore-blank-lines" ],
"array-bracket-spacing": [ true, "always", { "arraysInArrays": false } ],
"eofline": false,
"import-name": false,
"jsx-no-multiline-js": false,
"max-line-length": false
}
}