eslint-config
eslint-config copied to clipboard
fix(pnpm): add pnpm options to settings
Description
Expose catalogs option to users via pnpm config.
Previously pnpm was boolean-only, so users couldn't explicitly control the catalogs rule. Now accepts { catalogs: boolean } to override smart detection.
// disable catalogs enforcement even in pnpm workspace
export default antfu({
pnpm: { catalogs: false }
})
Linked Issues
Additional context
Removed extends OptionsIsInEditor from OptionsPnpm - no other config allows overriding isInEditor per-plugin so move this to the pnpm config directly.
Deploy Preview for melodious-froyo-4871f8 ready!
| Name | Link |
|---|---|
| Latest commit | 187218337c2d5c35301dc804e1dc29102795bc9d |
| Latest deploy log | https://app.netlify.com/projects/melodious-froyo-4871f8/deploys/69397f0c4de7ed0008e4a3f3 |
| Deploy Preview | https://deploy-preview-789--melodious-froyo-4871f8.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Thank you! Sorry I missed your PR that I already fix this in another refactory