Skip to content

Releases: jscs-dev/gulp-jscs

4.0.0

24 Jun 12:07
Compare
Choose a tag to compare

Upgrade to JSCS 3.

3.0.0

23 Sep 10:06
Compare
Choose a tag to compare

Reporters are now supported. The main jscs() function will no longer report anything.

You can also no longer pass JSCS config into jscs(). JSCS config should be in an external file so other tools can also make use of it.

It will now automatically load the closest .jscsrc file. So no longer a need to explicitly specify a configPath.

Change your code accordingly:

 const gulp = require('gulp');
 const jscs = require('gulp-jscs');

 gulp.task('default', () => {
  return gulp.src('src/app.js')
-  .pipe(jscs({configPath: '.jscsrc'}));
+  .pipe(jscs())
+  .pipe(jscs.reporter());
 });

Changes: v2.0.0...v3.0.0