0.1.1 • Published 3 years ago

eslint-dashboard v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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