Socket
Book a DemoInstallSign in
Socket

gulp-dev-tasks

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-dev-tasks

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

1.4.2
latest
Source
npmnpm
Version published
Weekly downloads
2
-60%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-dev-tasks

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

npm version

Installation

npm install gulp-dev-tasks --dev-save

Usage

Include the package in your gulpfile.js, for example like this:

const gulp = require('gulp');
const gdt = require('gulp-dev-tasks');

gdt.setCommand('query-api.js');
gdt.setRules({
  'new-cap': [2, {'capIsNewExceptions': ['express.Router']}]
});

gulp.task('default', ['dev']);

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.

dev

Runs an executable command, and reruns it when code changes.

Setup

The following functions are provided for configuration.

setCommand(command)

Set the command to be executed by the dev task.

setRules(rules)

Set linting rules to overwrite the ones provided by eslint-config-airbnb.

FAQs

Package last updated on 19 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.