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

Support for different config suffixes

RayJason opened this issue · comments

Clear and concise description of the problem

My eslint config names .eslintrc. It'll report an error:

[nuxt] [request error] [unhandled] [500] Cannot find module '**/eslint.config.js'

Obviously, only configuration files with the suffix config.js are currently supported.

Suggested solution

Support for configuration files with different suffixes.
https://eslint.org/docs/latest/use/configure/configuration-files#configuration-file-formats

Alternative

No response

Additional context

No response

Validations

Sorry no, this project is tend to, and would only work with the new flat config format: https://eslint.org/docs/latest/use/configure/configuration-files-new