Skip to content

fengzilong/eslint-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-dashboard

Interactive ESLint workflow that lives in your terminal

Installation

npm i eslint-dashboard -g

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() {
    // implement your own lint logic
    // return eslint lint results
  },
  fix() {
    // implement your own fix logic
    // return eslint fix results
  }
} )

License

MIT

About

Interactive ESLint workflow that lives in your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published