ep
eslint-parallel
npm i eslint-parallel
ep

eslint-parallel

Tiny eslint wrapper to allow executing javascript linting in parallel.

by Alan Souza

1.2.1 (see all)License:Apache-2.0TypeScript:Not Found
npm i eslint-parallel
Readme

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);
    }
  );

Downloads/wk

3.1K

GitHub Stars

18

LAST COMMIT

NaNyrs ago

MAINTAINERS

2

CONTRIBUTORS

0

OPEN ISSUES

3

OPEN PRs

7
VersionTagPublished
1.2.1
latest
1yr ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate