-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
31 lines (31 loc) · 987 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
29
30
31
{
/*
* Possible values:
* - the name of a built-in config
* - the name of an NPM module which has a "main" file that exports a config object
* - a relative path to a JSON file
*/
"extends": "tslint:recommended",
"rules": {
/*
* Any rules specified here will override those from the base config we are extending.
*/
"array-type": [true, "generic"],
"arrow-parens": false,
"max-classes-per-file": false, // allow private classes
"one-line": [ true, "check-open-brace", "check-whitespace"],
"trailing-comma": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
},
"jsRules": {
/*
* Any rules specified here will override those from the base config we are extending.
*/
},
"rulesDirectory": [
/*
* A list of relative or absolute paths to directories that contain custom rules.
* See the Custom Rules documentation below for more details.
*/
]
}