-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtslint.json
More file actions
36 lines (36 loc) · 973 Bytes
/
tslint.json
File metadata and controls
36 lines (36 loc) · 973 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
{
"defaultSeverity": "error",
"extends": [
"tslint:latest"
],
"jsRules": {},
"rules": {
"no-console": false,
"indent": [true, "spaces", 2],
"arrow-parens": [true, "ban-single-arg-parens"],
"curly": [true, "as-needed"],
"interface-name": [true, "never-prefix"],
"object-literal-sort-keys": false,
"quotemark": [true, "single", "jsx-double"],
"semicolon": [true, "never"],
"no-submodule-imports": false,
"no-shadowed-variable": false,
"no-implicit-dependencies": false,
"whitespace": [true,
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast",
"check-preblock"
],
"max-line-length": [true, {"limit": 120, "ignore-pattern": "^import |^export {(.*?)}"}],
"trailing-comma": [true, {
"typeLiterals": "ignore",
"multiline": "always",
"singleline": "never",
"esSpecCompliant": true
}]
}
}