eslint-formatter-mo v2.3.0
eslint-formatter-mo
Good-lookin' ESLint formatter
š Obviously it's more human-readable ššš
!NOTE This library was moved to ESM from v2.
If v2 doesn't work well with your Node.js version, check the 1.x version for better compatibility.
Features
- šÆ Line number
- š Code highlight
- āļø Position pointer
- š¦ Error/Warning detail
- š» Auto-fixable is also marked
- š File-level summary
- š Total summary
- š„³ Support 50+ VSCode Syntax themes (New feature from v2)
- š Support JSON/Markdown/CSS syntax highlighting (New feature from v2)
Installation
npm i eslint-formatter-mo -D
Usage
Simply append -f mo
to your eslint command
eslint [patterns] -f mo
-f is short for --format
See ESLint Formatters for detail
Themes
Thanks to shiki, now we support 50+ VSCode syntax themes in v2.
You can choose your favorite theme by specifying MO_THEME
environment variable.
MO_THEME=<theme_id> eslint [patterns] -f mo
theme_id | preview |
---|---|
one-dark-pro | |
dracula | |
night-owl | |
vitesse-dark | |
nord | |
... | ... |
Here are the all available 50+ VSCode syntax themes.
More screenshots
Summary
More languages
JSON
Markdown
CSS
License
MIT
4 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago