Have ideas to improve npm?Join in the discussion! »

eslint-ci

0.1.1 • Public • Published

eslint-ci

Greenkeeper badge Build Status

Fast ESLint for CI, inspired from yaspeller-ci.

It is a simple wrap for ESLint and works well with ESLint from 1.x to the latest version. It runs lint check only in first CI job so that we can speed up build time and reduce unnecessary computation burden for CI service.

Usage

Install eslint-ci

yarn add eslint-ci --dev

Note that eslint must be also installed since eslint-ci states peer dependencies on eslint.

Add it to npm scripts

{
  "scripts": {
    "lint": "eslint-ci",
    "test": "npm run unit && npm run lint"
  }
}

Keywords

none

Install

npm i [email protected]

Version

0.1.1

License

MIT

Last publish

Collaborators

  • avatar