1.0.0 • Published 5 years ago

eslint-ci v1.0.0

Weekly downloads
123
License
MIT
Repository
github
Last release
5 years ago

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"
  }
}