- Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
Description
Describe the feature
Currently, nuxt/nuxt-config-keys-order only works on files named exactly as nuxt.config.{ts,js,mts,mjs,tsx,jsx}. As my Nuxt config has grown larger, I am considering separating out the environment configs into their own separate files. In these separate files, I would like to be able to apply the same sort rule that is applied to my main Nuxt config.
However, it is currently impossible to make ESLint apply this rule to those files, as due to these lines processing is immediately stopped on any other file name, and so even if I configure ESLint to apply nuxt/nuxt-config-keys-order to my extracted out environment config file, no errors are given by ESLint.
Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide.
- Check existing discussions and issues.
Reactions are currently unavailable