-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
Description
Docs page(s)
https://eslint.org/docs/latest/use/configure/configuration-files
What documentation issue do you want to solve?
There is not enough information on adding types to the config file to make it easier to change in the IDE.
What do you think is the correct solution?
Add information on how to add types to the configuration file as Vite does. Here are configuration examples: https://stackoverflow.com/q/75684118/11336855
Although I would rather do it like Prettier, since in JetBrains IDEAs for some reason only in this case the hints work correctly.
/** @type { import('eslint').Linter.Config[] } */
const config = [...];
export default config;Participation
- I am willing to submit a pull request for this change.
Additional comments
No response
rakleed and frankie303
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Complete