1.0.5 • Published 5 years ago

eslint-parallel-kiwi v1.0.5

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

eslint-parallel

Tiny eslint wrapper to allow executing javascript linting in parallel.

Install

npm install eslint-parallel

Access CLI

node_modules/.bin/eslint-parallel src/js/**

Options

See ESLint Docs for all the options

API Usage

  import Linter from 'eslint-parallel';
  new Linter({
    cache: true,
    cwd: process.cwd()
  }).execute(['src/js/**']).then(
    (result) => {
      const failed = result.errorCount || result.warningCount;

      if (failed) {
        // failed
      } else {
        // passed
      }
    },
    (err) => {
      console.log(err);
      process.exit(1);
    }
  );
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1-a

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago