-
Notifications
You must be signed in to change notification settings - Fork 109
/
tslint.json
62 lines (58 loc) · 2.66 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"extends": "tslint:recommended",
"rules": {
"comment-format": false,
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": false,
"member-ordering": false,
"no-bitwise": false,
"no-consecutive-blank-lines": false,
"no-console": false,
"no-namespace": false,
"no-shadowed-variable": false,
"no-unused-expression": false,
"no-var-requires": false,
"one-line": false,
"prefer-const": false,
"unified-signatures": false,
"variable-name": false,
// Enabled with specific or customized configuration
"indent": [true, "tabs"],
"prefer-while": true,
"no-for-in-array": true,
"return-undefined": true,
"no-boolean-literal-compare": true,
"no-inferred-empty-object-type": true,
"promise-function-async": true,
"no-unsafe-any": true,
"no-unnecessary-type-assertion": true,
"no-floating-promises": true,
"no-return-await": true,
"deprecation": true,
// Can't be reasonably enabled because the imports need to be per-file within this repository
"ordered-imports": false
},
"linterOptions": {
"exclude": [
// Disabled due to uncontrollable space indentation
"test/runtime/gen/TestParseTrees/testTokenAndRuleContextString/TParser.ts",
"test/runtime/gen/TestSemPredEvalLexer/testIndent/L.ts",
"test/runtime/gen/TestSemPredEvalLexer/testLexerInputPositionSensitivePredicates/L.ts",
"test/runtime/gen/TestSemPredEvalLexer/testPredicatedKeywords/L.ts",
// Disabled due to uncontrollable whitespace within action expressions
"test/runtime/gen/TestFullContextParsing/testLoopsSimulateTailRecursion/TParser.ts",
"test/runtime/gen/TestLeftRecursion/testReturnValueAndActionsAndLabels_1/TParser.ts",
"test/runtime/gen/TestLeftRecursion/testReturnValueAndActionsAndLabels_2/TParser.ts",
"test/runtime/gen/TestLeftRecursion/testReturnValueAndActionsAndLabels_3/TParser.ts",
"test/runtime/gen/TestLeftRecursion/testReturnValueAndActionsAndLabels_4/TParser.ts",
"test/runtime/gen/TestSemPredEvalParser/testPredTestedEvenWhenUnAmbig_1/TParser.ts",
"test/runtime/gen/TestSemPredEvalParser/testPredTestedEvenWhenUnAmbig_2/TParser.ts",
// Disabled due to uncontrollable rule names with underscores producing class names with underscores
"test/runtime/gen/TestCompositeParsers/testDelegatorRuleOverridesLookaheadInDelegate/MParser.ts",
"test/runtime/gen/TestParserExec/testPredictionIssue334/TParser.ts",
"test/runtime/gen/TestSemPredEvalParser/testPredFromAltTestedInLoopBack_1/TParser.ts",
"test/runtime/gen/TestSemPredEvalParser/testPredFromAltTestedInLoopBack_2/TParser.ts"
]
}
}