-
Notifications
You must be signed in to change notification settings - Fork 11
Fail build on linting error #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| { | ||
| "node": true, | ||
| "latedef": true, | ||
| "undef": true | ||
| "undef": true, | ||
| "unused": true | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Discovered 2 unused, so just quickly added this 😄 |
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,6 @@ var gutil = require('gulp-util'); | |
| var c = gutil.colors; | ||
| var error = gutil.PluginError; | ||
| var es = require('event-stream'); | ||
| var fs = require('fs'); | ||
| var csslint = require('csslint').CSSLint; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the reason coverage is down |
||
| var RcLoader = require('rcloader'); | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,22 +8,22 @@ | |
| ], | ||
| "dependencies": { | ||
| "csslint": "^0.10.0", | ||
| "event-stream": "^3.3.0", | ||
| "event-stream": "^3.3.1", | ||
| "gulp-util": "^3.0.4", | ||
| "rcloader": "^0.1.4" | ||
| }, | ||
| "devDependencies": { | ||
| "coveralls": "^2.11.2", | ||
| "istanbul": "^0.3.13", | ||
| "jscs": "^1.12.0", | ||
| "jshint": "^2.6.3", | ||
| "mocha": "^2.2.4", | ||
| "rimraf": "^2.3.2", | ||
| "should": "^5.2.0" | ||
| "istanbul": "^0.3.14", | ||
| "jscs": "^1.13.1", | ||
| "jshint": "^2.7.0", | ||
| "mocha": "^2.2.5", | ||
| "rimraf": "^2.3.4", | ||
| "should": "^6.0.3" | ||
| }, | ||
| "scripts": { | ||
| "clean": "rimraf coverage/", | ||
| "lint": "jscs index.js test/ & jshint index.js test/", | ||
| "lint": "jscs index.js test/ && jshint index.js test/", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This extra |
||
| "pretest": "npm run lint", | ||
| "test": "mocha", | ||
| "precover": "npm run lint && npm run clean", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray!