2.3.0 • Published 10 months ago

eslint-formatter-mo v2.3.0

Weekly downloads
688
License
MIT
Repository
github
Last release
10 months ago

eslint-formatter-mo

npm version actions status npm downloads awesome semantic-release

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_idpreview
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

2.3.0

10 months ago

2.2.0

11 months ago

2.0.1

11 months ago

2.1.0

11 months ago

1.4.1

11 months ago

1.4.0

11 months ago

1.3.1

11 months ago

2.0.0-alpha.0

11 months ago

2.0.0

11 months ago

1.3.0

11 months ago

1.2.1

12 months ago

1.2.0

3 years ago

1.1.1

4 years ago

1.0.2

4 years ago

1.1.0

4 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.0

6 years ago