2.0.0 • Published 6 years ago

qunit-eslint v2.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

qunit-eslint

An easy way to run ESLint against your project within your normal QUnit tests.

Inspired by mocha-eslint.

Installation

yarn add --dev qunit-eslint

Or:

npm install --save-dev qunit-eslint

You must already have qunitjs installed into your project.

Usage

After qunit-eslint is installed, you can use it by creating a single test file that looks like:

const lint = require('qunit-eslint');

lint(['lib/**/*.js', 'tests/**/*.js']);