-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
40 lines (40 loc) · 1.27 KB
/
tslint.json
File metadata and controls
40 lines (40 loc) · 1.27 KB
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
{
"rulesDirectory": ["./node_modules/tslint-microsoft-contrib"],
"extends": "tslint-microsoft-contrib/recommended_ruleset",
"rules": {
"align": [true, "parameters", "statements"],
"export-name": [0],
"import-name": [0],
"max-line-length": [true, 120],
"member-ordering": [true, {
"order": [
"public-static-field",
"protected-static-field",
"private-static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-static-method",
"protected-static-method",
"private-static-method"
]
}
],
"missing-jsdoc": [0],
"no-angle-bracket-type-assertion": true,
"no-any": false,
"no-cookies": [0],
"no-default-export": [0],
"no-empty-line-after-opening-brace": true,
"no-http-string": false,
"no-relative-imports": [0],
"no-require-imports": false,
"no-unused-variable": [true, {"ignore-pattern": "^React$"}],
"no-var-requires": false,
"prefer-type-cast": false,
"switch-default": false,
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"]
}
}