forked from coolgk/node-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
executable file
·28 lines (28 loc) · 955 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
27
28
{
"extends": "tslint:recommended",
"rules": {
"trailing-comma": false,
"object-literal-sort-keys": false,
"forin": false,
"ordered-imports": false,
"space-before-function-paren": true,
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-typecast",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"array-type": [true, "array"],
"no-unused-expression": [true, "allow-fast-null-checks"],
"max-line-length": [true, {"limit": 140, "ignore-pattern": "//"}]
}
}