55 "array-type" : [true , " array" ],
66 "ban-types" : {
77 "options" : [
8- [" Object" , " Avoid using the `Object` type. Did you mean `object`?" ], [
8+ [" Object" , " Avoid using the `Object` type. Did you mean `object`?" ],
9+ [
910 " Function" ,
1011 " Avoid using the `Function` type. Prefer a specific function type, like `() => void`, or use `ts.AnyFunction`."
11- ], [" Boolean" , " Avoid using the `Boolean` type. Did you mean `boolean`?" ],
12+ ],
13+ [" Boolean" , " Avoid using the `Boolean` type. Did you mean `boolean`?" ],
1214 [" Number" , " Avoid using the `Number` type. Did you mean `number`?" ],
1315 [" String" , " Avoid using the `String` type. Did you mean `string`?" ]
1416 ]
1517 },
1618 "class-name" : true ,
17- "comment-format" : [
18- true , " check-space"
19- ],
19+ "comment-format" : [true , " check-space" ],
2020 "curly" : [true , " ignore-same-line" ],
21- "indent" : [
22- true , " spaces"
23- ],
21+ "indent" : [true , " spaces" ],
2422 "interface-name" : [true , " never-prefix" ],
2523 "interface-over-type-literal" : true ,
2624 "jsdoc-format" : true ,
3331 "no-unnecessary-qualifier" : true ,
3432 "no-var-keyword" : true ,
3533 "object-literal-shorthand" : true ,
36- "one-line" : [
37- true , " check-open-brace" , " check-whitespace"
38- ],
34+ "one-line" : [true , " check-open-brace" , " check-whitespace" ],
3935 "prefer-const" : true ,
40- "quotemark" : [
41- true , " single" , " avoid-escape"
42- ],
36+ "quotemark" : [true , " single" , " avoid-escape" ],
4337 "semicolon" : [true , " always" , " ignore-bound-class-methods" ],
4438 "space-within-parens" : true ,
4539 "triple-equals" : true ,
4640 "typedef-whitespace" : [
47- true , {
41+ true ,
42+ {
4843 "call-signature" : " nospace" ,
4944 "index-signature" : " nospace" ,
5045 "parameter" : " nospace" ,
5146 "property-declaration" : " nospace" ,
5247 "variable-declaration" : " nospace"
53- }, {
48+ },
49+ {
5450 "call-signature" : " onespace" ,
5551 "index-signature" : " onespace" ,
5652 "parameter" : " onespace" ,
5753 "property-declaration" : " onespace" ,
5854 "variable-declaration" : " onespace"
5955 }
6056 ],
61- "whitespace" : [
62- true , " check-branch" , " check-decl" , " check-operator" , " check-separator" , " check-type"
63- ],
57+ "whitespace" : [true , " check-branch" , " check-decl" , " check-operator" , " check-separator" , " check-type" ],
6458 // Config different from tslint:latest
6559 "no-implicit-dependencies" : [true , " dev" ],
6660 "object-literal-key-quotes" : [true , " consistent-as-needed" ],
10599 "object-literal-sort-keys" : false ,
106100 "one-variable-per-declaration" : false
107101 }
108- }
102+ }
0 commit comments