-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
48 lines (48 loc) · 1.51 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
42
43
44
45
46
47
48
{
"extends": [
"tslint:latest",
"tslint-config-airbnb",
"tslint-react"
],
"rules": {
"prefer-template": false,
"ter-arrow-parens": false,
"align": [true, "parameters", "statements", "members"],
"brace-style": [true, "1tbs"],
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+|\\[[A-Z_]+\\]$",
"static-method-regex": "^[a-z][\\w\\d]+$"
}
],
"import-name": [false],
"interface-name": [true, "never-prefix"],
"max-line-length": [true, 120],
"member-ordering": [false],
"member-access": [true, "no-public"],
"no-boolean-literal-compare": [false],
"no-implicit-dependencies": [false],
"no-shadowed-variable": [false],
"no-submodule-imports": [false],
"no-unused-expression": [true, "allow-fast-null-checks"],
"object-curly-spacing": [true, "always"],
"object-literal-sort-keys": [false],
"one-line": [false],
"ordered-imports": [false],
"prefer-array-literal": [false],
"semicolon": [true, "never"],
"strict-boolean-expressions": [false],
"ter-indent": [
true,
4,
{
"SwitchCase": 1
}
],
"trailing-comma": [true, "never"],
"variable-name": [true, "allow-pascal-case"],
"jsx-no-multiline-js": [false],
"jsx-boolean-value": [true, "never"]
}
}