gulp-lint-tasks

1.5.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-lint-tasks

Weekly Downloads

1

Version

1.5.5

License

ISC

Last publish

Collaborators

  • gerben