-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
34 lines (34 loc) · 984 Bytes
/
tslint.json
File metadata and controls
34 lines (34 loc) · 984 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"indent": [true, "spaces", 4],
"member-access": [true, "no-public"],
"no-trailing-whitespace": true,
"no-empty": [true, "allow-empty-catch"],
"object-literal-sort-keys": false,
"interface-name": false,
"no-console": false,
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"ordered-imports": false,
"no-unused-expression": true,
"max-classes-per-file": [true, 10, "exclude-class-expressions"],
"class-name": true
},
// "rulesDirectory": ["./ts-rules"],
"linterOptions": {
"exclude": [
"assets/script/vendor/**",
"automation/**",
"core/**",
"cache/**",
"logs/**",
"node_modules/**",
"vendor/**",
"web/**"
]
}
}