An open API service indexing awesome lists of open source software.

https://github.com/antfu/eslint-flat-config-viewer

A visual tool to help you view and understand your ESLint Flat config.
https://github.com/antfu/eslint-flat-config-viewer

Last synced: 3 months ago
JSON representation

A visual tool to help you view and understand your ESLint Flat config.

Awesome Lists containing this project

README

        

> [!IMPORTANT]
> This project is now the official [`@eslint/config-inspector`](https://github.com/eslint/config-inspector). Please migrate to the new package for future updates and improvements. This repository is archived.

-----


# ESLint Flat Config Viewer

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

A visual tool to help you view and understand your [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new).

Screenshot
Screenshot

## Usage

Change directory to your project root that contains `eslint.config.js` and run:

```bash
npx eslint-flat-config-viewer
```

Goto http://localhost:7777/ to view your ESLint config. Whenever you update your ESLint config, the page will be updated automatically.

---

Or play it in your browser:

[![](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/~/github.com/antfu/eslint-flat-config-viewer)

## Sponsors





## License

[MIT](./LICENSE) License © 2023-PRESENT [Anthony Fu](https://github.com/antfu)

[npm-version-src]: https://img.shields.io/npm/v/eslint-flat-config-viewer?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/eslint-flat-config-viewer
[npm-downloads-src]: https://img.shields.io/npm/dm/eslint-flat-config-viewer?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/eslint-flat-config-viewer