docs: prefer pnpm script shorthand in contributing guide#19747
docs: prefer pnpm script shorthand in contributing guide#19747pavan-sh wants to merge 1 commit intotailwindlabs:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
WalkthroughThe PR updates the CONTRIBUTING.md documentation file to standardize command invocations for npm scripts. Specifically, it replaces "pnpm run lint" with "pnpm lint" and "pnpm run format" with "pnpm format" in the documentation. These are documentation-only changes with no functional or behavioral modifications. No public APIs or exported declarations are altered. The change involves 2 lines added and 2 lines removed. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Let's keep it as is. No need to change this 👍 |
No problem. Thanks for review and valuable time. |
Summary
This PR updates the contributing guide to use pnpm’s script shorthand for consistency and copy/paste friendliness:
pnpm run lint→pnpm lintpnpm run format→pnpm formatThese commands are equivalent, but the shorthand matches the rest of the repo’s script usage and reduces noise in documentation.
Test plan
lintandformatscripts exist in the rootpackage.json.