Last active
November 12, 2015 01:34
-
-
Save ericis/35161f8eca326e001c11 to your computer and use it in GitHub Desktop.
gulp-tslint-code-subdir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = 10; | |
var z = 'whee'; | |
tada | |
class customer { | |
tada(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var process = process || { exit: new Function() }; | |
var gulp = require("gulp"); | |
var tslint = require("gulp-tslint"); | |
gulp.task("tslint", function () { | |
return gulp | |
.src(["code\app.ts"]) | |
.pipe(tslint()) | |
.pipe(tslint.report("verbose")); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"private": true, | |
"name": "gulp-tslint-code-subdir", | |
"version": "1.0.0", | |
"devDependencies": { | |
"gulp": "^3.9.0", | |
"gulp-tslint": "^3.6.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"rules": { | |
"class-name": true, | |
"curly": true, | |
"eofline": false, | |
"forin": true, | |
"indent": [ | |
true, | |
4 | |
], | |
"label-position": true, | |
"label-undefined": true, | |
"max-line-length": [ | |
true, | |
140 | |
], | |
"no-arg": true, | |
"no-bitwise": true, | |
"no-console": [ | |
true, | |
"debug", | |
"info", | |
"time", | |
"timeEnd", | |
"trace" | |
], | |
"no-construct": true, | |
"no-debugger": true, | |
"no-duplicate-key": true, | |
"no-duplicate-variable": true, | |
"no-empty": true, | |
"no-eval": true, | |
"no-imports": true, | |
"no-string-literal": false, | |
"no-trailing-comma": true, | |
"no-trailing-whitespace": true, | |
"no-unused-variable": false, | |
"no-unreachable": true, | |
"no-use-before-declare": true, | |
"one-line": [ | |
true, | |
"check-open-brace", | |
"check-catch", | |
"check-else", | |
"check-whitespace" | |
], | |
"quotemark": [ | |
true, | |
"single" | |
], | |
"radix": true, | |
"semicolon": true, | |
"triple-equals": [ | |
true, | |
"allow-null-check" | |
], | |
"variable-name": false, | |
"whitespace": [ | |
true, | |
"check-branch", | |
"check-decl", | |
"check-operator", | |
"check-separator" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment