"gulp-if": "~2.0.0",
"gulp-inject": "~3.0.0",
"gulp-jscs": "~3.0.2",
+ "gulp-jscs-stylish" : "~1.2.1",
"gulp-jshint": "~1.12.0",
"gulp-load-plugins": "~1.1.0",
"gulp-minify-css": "~1.2.1",
"disallowMultipleLineBreaks": true,
- "disallowCommaBeforeLineBreak": null,
- "disallowDanglingUnderscores": null,
- "disallowEmptyBlocks": null,
- "disallowTrailingComma": null,
- "requireCommaBeforeLineBreak": null,
- "requireDotNotation": null,
- "requireMultipleVarDecl": null,
+ "disallowCommaBeforeLineBreak": false,
+ "disallowDanglingUnderscores": false,
+ "disallowEmptyBlocks": true,
+ "disallowTrailingComma": true,
+ "requireCommaBeforeLineBreak": true,
+ "requireDotNotation": true,
+ "requireMultipleVarDecl": false,
"requireParenthesesAroundIIFE": true
}
return "vet-js: " + filepath;
})))
.pipe(plugins.jshint(config.jsHintConfigurationFile))
- .pipe(plugins.jshint.reporter('jshint-stylish', {verbose: true}))
- .pipe(plugins.jshint.reporter('fail'))
.pipe(plugins.jscs({
configPath: config.jscsConfigurationFile,
fix: false
- }));
+ }))
+ .pipe(plugins.jscsStylish.combineWithHintResults())
+ .pipe(plugins.jshint.reporter('jshint-stylish', {verbose: args.verbose ? true : false}))
+ .pipe(plugins.jshint.reporter('fail'));
});
/**