|
15 | 15 | "defocus": true, |
16 | 16 | "import-groups": true, |
17 | 17 | "no-global-tslint-disable": true, |
18 | | - "single-eof-line": true, |
19 | 18 | // ================================================================================================== |
20 | 19 | // tslint-sonarts rules. See https://github.com/SonarSource/SonarTS |
21 | 20 | // These rules are part of the bug detection section of tslint-sonarts |
|
52 | 51 | "no-floating-promises": true, |
53 | 52 | "no-implicit-dependencies": true, |
54 | 53 | "no-import-side-effect": [true, {"ignore-module": "^(?!rxjs\/)"}], |
55 | | - "align": [ |
56 | | - true, |
57 | | - "elements", |
58 | | - "members", |
59 | | - "parameters", |
60 | | - "statements" |
61 | | - ], |
62 | | - "max-line-length": [true, 100], |
63 | 54 | "no-inferrable-types": true, |
64 | 55 | "class-name": true, |
65 | 56 | "comment-format": [ |
66 | 57 | true, |
67 | 58 | "check-space" |
68 | 59 | ], |
69 | | - "indent": [ |
70 | | - true, |
71 | | - "spaces" |
72 | | - ], |
73 | | - "eofline": true, |
74 | | - "import-spacing": true, |
75 | 60 | "match-default-export-name": true, |
76 | 61 | "newline-before-return": true, |
77 | | - "no-consecutive-blank-lines": [true, 2], |
78 | 62 | "no-duplicate-variable": true, |
79 | 63 | "no-eval": true, |
80 | 64 | "no-any": true, |
81 | 65 | "no-arg": true, |
82 | 66 | "no-internal-module": true, |
83 | | - "no-trailing-whitespace": true, |
84 | 67 | "no-unused-expression": true, |
85 | 68 | "no-var-keyword": true, |
86 | | - "one-line": [ |
87 | | - true, |
88 | | - "check-catch", |
89 | | - "check-else", |
90 | | - "check-finally", |
91 | | - "check-open-brace", |
92 | | - "check-whitespace" |
93 | | - ], |
94 | 69 | "ordered-imports": [ |
95 | 70 | true, |
96 | 71 | { |
|
99 | 74 | } |
100 | 75 | ], |
101 | 76 | "prefer-const": true, |
102 | | - "quotemark": [ |
103 | | - true, |
104 | | - "single", |
105 | | - "avoid-escape" |
106 | | - ], |
107 | | - "semicolon": [true, "always"], |
108 | | - "trailing-comma": [ |
109 | | - true, |
110 | | - { |
111 | | - "multiline": "always", |
112 | | - "singleline": "never" |
113 | | - } |
114 | | - ], |
115 | | - "typedef-whitespace": [ |
116 | | - true, |
117 | | - { |
118 | | - "call-signature": "nospace", |
119 | | - "index-signature": "nospace", |
120 | | - "parameter": "nospace", |
121 | | - "property-declaration": "nospace", |
122 | | - "variable-declaration": "nospace" |
123 | | - } |
124 | | - ], |
125 | 77 | "curly": true, |
126 | 78 | "file-header": [ |
127 | 79 | true, |
|
133 | 85 | "check-format", |
134 | 86 | "allow-leading-underscore", |
135 | 87 | "allow-pascal-case" |
136 | | - ], |
137 | | - "whitespace": [ |
138 | | - true, |
139 | | - "check-branch", |
140 | | - "check-decl", |
141 | | - "check-module", |
142 | | - "check-preblock", |
143 | | - "check-operator", |
144 | | - "check-separator", |
145 | | - "check-type", |
146 | | - "check-typecast" |
147 | 88 | ] |
148 | 89 | } |
149 | 90 | } |
0 commit comments