Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
Fail build on linting error
Browse files Browse the repository at this point in the history
Also bump all deps
  • Loading branch information
SimenB committed May 28, 2015
1 parent e501475 commit 95a86f9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"disallowQuotedKeysInObjects": true,
"disallowPaddingNewlinesInBlocks": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true
},
Expand Down
3 changes: 2 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"node": true,
"latedef": true,
"undef": true
"undef": true,
"unused": true
}
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var RcLoader = require('rcloader');

Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
"pretest": "npm run lint",
"test": "mocha",
"precover": "npm run lint && npm run clean",
Expand Down
2 changes: 1 addition & 1 deletion test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('gulp-csslint', function() {
var file2 = getFile('fixtures/missingPrefixes.css');

var stream = cssLintPlugin();
stream.on('data', function(newFile) {
stream.on('data', function() {
++a;
});

Expand Down

0 comments on commit 95a86f9

Please sign in to comment.