-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Contribution
- I'd be willing to implement this feature (contributing guide)
Describe the user story
- Eslint 9 support flat config. We don't need to hoist modules about eslint any more.
- Prettier
pluginsfield will be passed toimport() expression. Users can resolve the plugin module path by themselves (likerequire.resolve('prettier-plugin-foo')). See the doc.
Strings provided to plugins are ultimately passed to import() expression, so you can provide a module/package name, a path, or anything else import() takes.
Therefore, now is the proper time for removing the default option *eslint* and *prettier* from public-hoist-pattern. Users will get a clean and consistent node_modules folder. Hiding *eslint* and *prettier* in public-hoist-pattern seems not a wise choice.
Describe the solution you'd like
Remove the default option *eslint* and *prettier* from public-hoist-pattern option.
Describe the drawbacks of your solution
This is a breaking change.
Describe alternatives you've considered
No.
Reactions are currently unavailable