StackOverflow - javascript, gulp, eslint, airbnb-js-styleguide, eslint-config-airbnb

How do I view linting errors when i run 'gulp'?

Have you tried setting your eslint configuration file on lint call? gulp.task('lint', function () { return gulp.src(config.paths.js) .pipe(lint({ // Load a specific ESLint config configFile: 'eslintConfig.json' } )) .pipe(lint.format()) .pipe(lint.failAfterError()); }); From: https://github.com/adametry/gulp-eslint/blob/master/example/config.js

Was this helpful?

Have a different question?

Can't find the answer you're looking for? Submit your own question to our community.

🛎️ Get Weekly OTA Fixes

New answers, vendor issues, and updates — straight to your inbox.