Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-ci

JLHwung438MIT1.0.0

Fast ESLint for CI

readme

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

changelog

1.0.0 (2018-11-19)

Chores
  • package:
    • distribute bin.js only (d2434001)
    • update lockfile (00b344c8)
    • update eslint-config-prettier to version 3.0.0 (cb3ac383)
    • update lockfile (e45a68f6)
    • update lint-staged to version 6.0.0 (b5c9a703)
  • update dev infrastructure (e46ca132)
  • travis: update node_js to 8 (b2d8d9bb)

0.1.1 (2017-11-20)

Chores
  • package:
    • update yarn lock file (206ff7b9)
    • update lockfile (332eace0)
    • update yaspeller-ci to version 1.0.0 (897102a1)
    • update lint-staged to version 5.0.0 (e39e232c)
    • add test files to .npmignore (#3)
Documentation Changes
  • readme: add Greenkeeper badge (01587469)
  • readme: fix eslint uppercase (#4)
Bug Fixes
  • travis:
    • remove eslint-config-prettier on integration test (1c1bc860)
    • fix before_script (361b184b)