antfu / eslint-flat-config-viewer

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What about adding an `only flat config supported` warning when flat config read fails?

BI1LQV opened this issue · comments

commented

Clear and concise description of the problem

Hi, tony! Today most JavaScript/TypeScript projects are still using traditional configuration files, and obviously this project is not intended to support this type. People might get confused when they face the module not found error using this tool in their existing project, just like me and the previous two issues.

Suggested solution

What about adding an only flat config supported warning when flat config read fails? I will contribute a PR to improve this if it's welcome.

Alternative

No response

Additional context

No response

Validations