Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 2.61 KB

File metadata and controls

81 lines (59 loc) · 2.61 KB

eslint-formatter-bullseye

██████╗ ██╗   ██╗██╗     ██╗     ███████╗███████╗██╗   ██╗███████╗██╗
██╔══██╗██║   ██║██║     ██║     ██╔════╝██╔════╝╚██╗ ██╔╝██╔════╝██║
██████╔╝██║   ██║██║     ██║     ███████╗█████╗   ╚████╔╝ █████╗  ██║
██╔══██╗██║   ██║██║     ██║     ╚════██║██╔══╝    ╚██╔╝  ██╔══╝  ╚═╝
██████╔╝╚██████╔╝███████╗███████╗███████║███████╗   ██║   ███████╗██╗
╚═════╝  ╚═════╝ ╚══════╝╚══════╝╚══════╝╚══════╝   ╚═╝   ╚══════╝╚═╝

A beautiful and concise ESLint formatter with clear, easy-to-read output

npm version NPM License

Screenshot

image

Features

  • 🎯 Clear, concise output format
  • 🎨 Beautiful color-coded messages
  • 📍 Unix-style line:column references
  • 🔍 Precise error location with carets
  • 📝 Grouped warnings and errors
  • 📊 Clean summary report

Install

npm install --save-dev eslint-formatter-bullseye
# or
yarn add -D eslint-formatter-bullseye

Usage

Command Line

eslint . --format eslint-formatter-bullseye

ESLint Config

In your .eslintrc:

{
  "formatter": "eslint-formatter-bullseye"
}

Output Example

╔══════════════╗
║  WARNINGS    ║
╚══════════════╝
🟡 index.js:22:5 | console.log('debug') | no-console
                   ^

╔══════════════╗
║   ERRORS     ║
╚══════════════╝
🔴 index.js:15:3 | const unused = 'value' | no-unused-vars
                   ^

╔══════════════╗
║   SUMMARY    ║
╚══════════════╝
🔴 Errors detected: 1
🟡 Warnings identified: 1

License

MIT © Ben Glasser