Package detail

@eslint/config-inspector

eslint1.1mApache-2.01.1.0

A visual tool for inspecting and understanding your ESLint flat configs

readme


ESLint Config Inspector

npm version npm downloads

A visual tool for inspecting and understanding your ESLint flat configs.

Screenshot 1 Screenshot 2

Usage

Go to the project root that contains eslint.config.js and run:

npx @eslint/config-inspector@latest

Visit http://localhost:7777/ to view and play with your ESLint config. Changes to the config file will be updated automatically.

Run npx @eslint/config-inspector --help to see all the CLI options available.

Online Preview

Or play it right in your browser now:

Static Build

It is also possible to build a static web app for your ESLint config:

npx @eslint/config-inspector build

This will generate a Single-Page Application (SPA) under .eslint-config-inspector, with the snapshot of the current ESLint config. You can deploy it somewhere, or use it for comparison etc.

Run npx @eslint/config-inspector build --help to see all the CLI options available.

Contributing

We operate under the ESLint Contributor Guidelines, so please be sure to read them before contributing. If you're not sure where to dig in, check out the issues.

Development

This project uses the following stack:

To start the development server:

To test the production build:

License

Apache-2.0 License

changelog

Changelog

1.1.0 (2025-06-06)

Features

Bug Fixes

1.0.2 (2025-03-05)

Bug Fixes

1.0.1 (2025-02-27)

chore

Features

Bug Fixes

1.0.0 (2025-01-15)

chore

Features

0.7.1 (2025-01-08)

Bug Fixes

  • avoid using .toSorted to improve node compatibility, close #117 (c7ed332)

0.7.0 (2025-01-03)

chore

Bug Fixes

  • bundle eslint-config related deps (7d2945b)
  • match glob logic for unignore ignores (#115) (58df9b1)

0.6.0 (2024-12-10)

Features

  • present meta.defaultOptions in the config inspector (#110) (9820d63)

Bug Fixes

  • add gap between number of rules and view switcher (#105) (a3c4a7a)

0.5.6 (2024-10-30)

Bug Fixes

0.5.5 (2024-10-18)

chore

Features

  • label non-existent rule as invalid (#96) (a872bd5)

0.5.4 (2024-08-19)

chore

Features

  • improved errors when config can not be found (#85) (748590e)

Bug Fixes

  • improved check of whether ignore is global (#84) (7e66113)

0.5.3 (2024-08-15)

chore

Features

Bug Fixes

  • nth formatting for values above 20 (#83) (1c0ecf1)
  • disable tsconfig resolution on config loading, close #52 (27c2372)
  • label of "Rules" -> "Configs" on file group (#77) (0f0b1b8)

0.5.2 (2024-07-17)

Bug Fixes

  • disable font ligatures for monospace fonts, close #73 (ce55bc4)
  • move toggleRuleView to page rules (#75) (0fd797c)

0.5.1 (2024-06-28)

Bug Fixes

  • correct condition on showing the rules list (88d5719)

0.5.0 (2024-06-22)

chore

Bug Fixes

  • use @eslint/config-array to resolve paths (#69) (ca6070e)

0.4.12 (2024-06-21)

Bug Fixes

0.4.11 (2024-06-11)

Bug Fixes

0.4.10 (2024-06-01)

Bug Fixes

  • use minimatch without matchBase:true (#57) (4a89c48)

0.4.9 (2024-06-01)

Bug Fixes

  • dev time endless ERROR [unhandledRejection] read ECONNRESET (#50) (dea7f77)
  • load eslint module from config file dir, close #53 (770aded)

0.4.8 (2024-05-02)

Bug Fixes

Chores

0.4.7 (2024-04-22)

Bug Fixes

Chores

0.4.6 (2024-04-12)

Features

  • support --base option in build, fix #41 (1156bb5)

Bug Fixes

Chores

0.4.5 (2024-04-09)

Features

  • shift code hue to match more with the theme (9442360)
  • show options indicator (dcd0071)
  • syntax highlight for globs (d2a2d60)

Bug Fixes

  • support single object config export, fix #38 (feffffe)

Chores

0.4.4 (2024-04-09)

Bug Fixes

0.4.3 (2024-04-08)

Bug Fixes

  • file search specific toggle (92269db)

0.4.2 (2024-04-08)

Features

  • improve files globbing display (abab4f6)
  • show loading indicator (23c6135)

Bug Fixes

Documentation

Chores

0.4.1 (2024-04-05)

Bug Fixes

  • support eslint v9 as peerDeps (ead64bd)

0.4.0 (2024-04-05)

Features

Bug Fixes

Documentation

Chores

0.3.1 (2024-04-02)

Bug Fixes

Documentation

Chores

  • register api endpoint before static host (0b1360c)

0.3.0 (2024-04-02)

Features

  • align better with ESLint's design system (#16) (f0f8392)
  • improve ui and colors (258c2b5)
  • support build command for static hosting (#17) (6a3aaed)
  • use custom server host, reduce deps (#20) (ad59019)

0.2.1 (2024-04-01)

Chores

0.2.0 (2024-04-01)

Features

  • allow filter recommended rules, close #6 (92748ef)
  • show recommended marker (4164306)
  • use bundle-require instead of jiti, support top-level-await, fix #11 (89534ef)

Build Related

  • reusing workflows in release-please workflow ✨ (#10) (778c406)

Chores

0.1.0 (2024-03-29)

Features

Documentation

  • update screenshot and docs (da23b14)

Chores

  • update contribution guide (855e732)

0.0.2 (2024-03-29)

Chores

0.0.1 (2024-03-29)

Features

  • migrate from eslint-flat-config-viewer (#1) (4acbd4f)

Chores