-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
33 lines (33 loc) · 1.04 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
{
"defaultSeverity": "error",
"jsRules": {},
"rules": {
"comment-format": [true, "check-space"],
"eofline": true,
"file-header": [true, "Copyright \\d{4}"],
"indent": [true, "spaces"],
"linebreak-style": [true, "LF"],
"member-access": [true, "check-constructor", "check-accessor"],
"new-parens": true,
"no-trailing-whitespace": true,
"no-unused-variable": true,
"one-line": [true, "check-open-brace", "check-whitespace"],
"prefer-const": true,
"quotemark": [true, "double"],
"semicolon": [true, "always"],
"space-before-function-paren": [true, "never"],
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast",
"check-preblock"
]
},
"rulesDirectory": []
}