qunit-eslint

2.0.0 • Public • Published

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']);

Readme

Keywords

none

Package Sidebar

Install

npm i qunit-eslint

Weekly Downloads

7

Version

2.0.0

License

MIT

Last publish

Collaborators

  • rwjblue