1
+ {
2
+ "$schema" : " https://dev.office.com/json-schemas/core-build/tslint.schema.json" ,
3
+ // Display errors as warnings
4
+ "displayAsWarning" : true ,
5
+ // The TSLint task may have been configured with several custom lint rules
6
+ // before this config file is read (for example lint rules from the tslint-microsoft-contrib
7
+ // project). If true, this flag will deactivate any of these rules.
8
+ "removeExistingRules" : true ,
9
+ // When true, the TSLint task is configured with some default TSLint "rules.":
10
+ "useDefaultConfigAsBase" : false ,
11
+ // Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules
12
+ // which are active, other than the list of rules below.
13
+ "lintConfig" : {
14
+ // Opt-in to Lint rules which help to eliminate bugs in JavaScript
15
+ "rules" : {
16
+ "class-name" : false ,
17
+ "export-name" : false ,
18
+ "forin" : false ,
19
+ "label-position" : false ,
20
+ "member-access" : true ,
21
+ "no-arg" : false ,
22
+ "no-console" : false ,
23
+ "no-construct" : false ,
24
+ "no-duplicate-case" : true ,
25
+ "no-duplicate-variable" : true ,
26
+ "no-eval" : false ,
27
+ "no-function-expression" : true ,
28
+ "no-internal-module" : true ,
29
+ "no-shadowed-variable" : true ,
30
+ "no-switch-case-fall-through" : true ,
31
+ "no-unnecessary-semicolons" : true ,
32
+ "no-unused-expression" : true ,
33
+ "no-use-before-declare" : true ,
34
+ "no-with-statement" : true ,
35
+ "semicolon" : true ,
36
+ "trailing-comma" : false ,
37
+ "typedef" : false ,
38
+ "typedef-whitespace" : false ,
39
+ "use-named-parameter" : true ,
40
+ "valid-typeof" : true ,
41
+ "variable-name" : false ,
42
+ "whitespace" : false
43
+ }
44
+ }
45
+ }
0 commit comments