@@ -171,52 +171,8 @@ gulp.task("tslint", function () {
171171 // Configuration options adapted from TypeScript project:
172172 // https://github.com/Microsoft/TypeScript/blob/master/tslint.json
173173
174- var config = {
175- "rules" : {
176- "class-name" : true ,
177- "comment-format" : [ true ,
178- "check-space"
179- ] ,
180- "indent" : [ true ,
181- "spaces"
182- ] ,
183- "one-line" : [ true ,
184- "check-open-brace"
185- ] ,
186- "no-unused-variable" : true ,
187- "no-use-before-declare" : true ,
188- "quotemark" : [ true ,
189- "double"
190- ] ,
191- "semicolon" : true ,
192- "whitespace" : [ true ,
193- "check-branch" ,
194- "check-operator" ,
195- "check-separator" ,
196- "check-type"
197- ] ,
198- "typedef-whitespace" : [
199- true ,
200- {
201- "call-signature" : "nospace" ,
202- "index-signature" : "nospace" ,
203- "parameter" : "nospace" ,
204- "property-declaration" : "nospace" ,
205- "variable-declaration" : "nospace"
206- } ,
207- {
208- "call-signature" : "onespace" ,
209- "index-signature" : "onespace" ,
210- "parameter" : "onespace" ,
211- "property-declaration" : "onespace" ,
212- "variable-declaration" : "onespace"
213- }
214- ] ,
215- }
216- }
217-
218174 return gulp . src ( [ sourcePath + tsFiles , testPath + tsFiles ] )
219- . pipe ( tslint ( { configuration : config , formatter : "verbose" } ) )
175+ . pipe ( tslint ( { configuration : "./tslint.json" , formatter : "verbose" } ) )
220176 . pipe ( tslint . report ( ) ) ;
221177} ) ;
222178
0 commit comments