File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,19 @@ The `@storybook/mcp` package (in `packages/mcp`) is framework-agnostic:
122122 - ` mcp-endpoint.e2e.test.ts ` - MCP protocol and tool tests
123123 - ` check-deps.e2e.test.ts ` - Storybook version validation
124124
125+ ** Formatting and checks (CRITICAL):**
126+
127+ - ** ALWAYS format code after making changes** : Run ` pnpm run format ` before committing
128+ - ** ALWAYS run checks after formatting** : Run ` pnpm run check ` to ensure all checks pass
129+ - ** Fix any failing checks** : Analyze check results and fix issues until all checks pass
130+ - ** This is mandatory for every commit** - formatting checks will fail in CI if not done
131+ - The workflow is:
132+ 1 . Make your code changes
133+ 2 . Run ` pnpm run format ` to format all files
134+ 3 . Run ` pnpm run check ` to verify all checks pass
135+ 4 . Fix any failing checks and repeat step 3 until all pass
136+ 5 . Commit your changes
137+
125138** Type checking:**
126139
127140- All packages have TypeScript strict mode enabled
Original file line number Diff line number Diff line change 1- name : " Copilot Setup Steps"
1+ name : ' Copilot Setup Steps'
22
33# Automatically run the setup steps when they are changed to allow for easy validation, and
44# allow manual testing through the repository's "Actions" tab
You can’t perform that action at this time.
0 commit comments