1.5.5 • Published 7 years ago

gulp-lint-tasks v1.5.5

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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.