eslint-mocha
Auto inject ESLint tests into your Mocha suite. This is a zero-code alternative to mocha-eslint, where you need to write some boilerplate code to get up and running.
Installation
npm install eslint-mocha
You also need eslint
and mocha
as dependencies.
Usage
eslint-mocha --eslint-args="my eslint args" --mocha-args="my mocha args"
Example
eslint-mocha --eslint-args="**/*.js" --mocha-args="test/**/*-test.js"