-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtslint.json
26 lines (26 loc) · 952 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
{
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib"
],
"extends": [
"tslint-microsoft-contrib/recommended_ruleset"
],
"rules": {
"completed-docs": false, /* FIXME: remove before stable release */
"export-name": false,
"no-this-assignment": [true, {"allow-destructuring": true}],
"newline-before-return": false,
"no-banned-terms": false,
"missing-jsdoc": false,
"no-relative-imports": false,
"quotemark": [true, "double", "avoid-escape"],
"interface-name": [true, "never-prefix"],
"max-line-length": [true, 80],
"max-func-body-length": [true, 15],
"variable-name": [true, "ban-keywords", "check-format"],
"trailing-comma": [true, {"singleline": "never", "multiline": "always"}],
"function-name": [true, {"static-method-regex": "^(\\[\")?[a-z][\\w\\d]+(\"\\])?$"}],
"typedef": [true, "parameter", "property-declaration"],
"newline-per-chained-call": false
}
}