eslint-config icon indicating copy to clipboard operation
eslint-config copied to clipboard

fix(pnpm): add pnpm options to settings

Open christopher-buss opened this issue 1 week ago • 1 comments

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.

christopher-buss avatar Dec 10 '25 14:12 christopher-buss

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Dec 10 '25 14:12 netlify[bot]

Thank you! Sorry I missed your PR that I already fix this in another refactory

antfu avatar Dec 14 '25 03:12 antfu