Nested lint and format configs: share your use cases #2669
liangmiQwQ
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Vite+ currently reads lint and format settings from the root
vite.config.ts, withlint.overridesandfmt.overridesfor file- or package-specific settings. Nested lint and format configs are not currently supported.We're holding off on adding support for now. Some of the factors we're considering are implicit config discovery, configuration semantics, the context AI agents need to understand which settings apply, and the potential performance cost of finding and loading multiple configs. At the same time, we recognize that keeping package-specific context close to the code may have benefits.
The use cases we've heard so far haven't given us a strong enough reason to commit to those semantics. Waiting leaves room to add support later, and we'd like to hear why your project needs nested configs, especially where root-level overrides fall short.
Do you need nested lint or format configs? Tell us why.
It would help to hear:
If the current approach works well for you, we'd like to hear that too. You don't need to propose an implementation—we're mainly interested in understanding your workflow and the reasons behind your preference.
All reactions