forked from Dart-Code/Dart-Code
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
35 lines (35 loc) · 849 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
32
33
34
35
{
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"src/analysis/analysis_server_types.ts",
"src/analysis/analyzer_gen.ts"
]
},
"rulesDirectory": "lints/",
"rules": {
"disallow-fspath": true,
"indent": {
"options": "tabs"
},
"curly": false,
"no-console": false,
"max-classes-per-file": false,
"interface-name": false,
"member-ordering": false,
"no-empty": {
"options": "allow-empty-catch"
},
"space-before-function-paren": false,
// TODO: These don't seem to work?
// "no-unused-expression": true,
// "no-floating-promises": true,
// TODO: Re-enable these (currently it seems hit-and-miss whether the IDE notices them
// so sometimes it reports no errors, then later complains?!)
"max-line-length": false,
"ordered-imports": false,
"no-shadowed-variable": false
}
}