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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    8
  • 1.0.0
    1

Package Sidebar

Install

npm i qunit-eslint

Weekly Downloads

9

Version

2.0.0

License

MIT

Last publish

Collaborators

  • rwjblue