Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fengzilong/eslint-dashboard
Interactive ESLint workflow that lives in your terminal
https://github.com/fengzilong/eslint-dashboard
Last synced: about 6 hours ago
JSON representation
Interactive ESLint workflow that lives in your terminal
- Host: GitHub
- URL: https://github.com/fengzilong/eslint-dashboard
- Owner: fengzilong
- License: mit
- Created: 2021-09-11T09:13:05.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T17:34:25.000Z (about 3 years ago)
- Last Synced: 2024-08-04T00:06:48.271Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.54 MB
- Stars: 19
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-eslint - eslint-dashboard - Interactive ESLint workflow that lives in your terminal. (Tools / Testing Tools)
README
# eslint-dashboard
Interactive ESLint workflow that lives in your terminal
# Installation
```bash
npm i eslint-dashboard -g
```# Usage
```bash
# Run command
eslint-dashboard
```# API
```js
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