Skip to content

Repository files navigation

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

importLinterfrom'eslint-parallel';newLinter({cache: true,cwd: process.cwd()}).execute(['src/js/**']).then((result)=>{constfailed=result.errorCount||result.warningCount;if(failed){// failed}else{// passed}},(err)=>{console.log(err);process.exit(1);});

About

Tiny eslint wrapper to allow executing javascript linting in parallel.

Resources

Stars

27 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages