gulp-lint-tasks

Collection of Gulp tasks for linting with Airbnb's ESLint config.

Usage no npm install needed!

<script type="module">
  import gulpLintTasks from 'https://cdn.skypack.dev/gulp-lint-tasks';
</script>

README

gulp-lint-tasks

Collection of Gulp tasks for linting with Airbnb's ESLint config.

npm version

Installation

Install using npm:

$ npm install --save-dev gulp-lint-tasks

Usage

Include the package in your project's gulpfile.js:

require('gulp-lint-tasks');

Tasks

The following gulp tasks are provided:

lint

Lints all js and jsx files in your project, using the linting config as provided by eslint-config-airbnb.

lint:fix

Tries to autofix linting errors and warnings where possible.

lint:watch

Watches your project and will lint when code changes.

Adjusting linting rules

The linting rules can be adjusted/overwritten by providing a .eslintrc.json file with a rules property.