eslint-dashboard

0.1.1 • Public • Published

eslint-dashboard

Dashboard for ESLint report and fix

Installation

npm i eslint-dashboard

Usage

# Run command
eslint-dashboard

API

const dashboard = require( 'eslint-dashboard' )

// files: the same as first parameter of eslint.lintFiles
// lint and fix: the same as `lintFiles` and `fixFiles` in `lib/lint.js`
dashboard( files, {
  lint() {
    // return eslint lint results
  },
  fix() {
    // return eslint fix results
  }
} )

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-dashboard

Weekly Downloads

6

Version

0.1.1

License

MIT

Unpacked Size

3.06 MB

Total Files

12

Last publish

Collaborators

  • fengzilong