Download wp-calypso/.cursor/rules/a4a-custom-rules.mdc from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 768 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/.cursor/rules/a4a-custom-rules.mdc
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/.cursor/rules/a4a-custom-rules.mdc
-
curl -L -o a4a-custom-rules.mdc https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/.cursor/rules/a4a-custom-rules.mdc
768 Bytes
| description: Rules that applies for Automattic for Agencies related development | |
| globs: client/a8c-for-agencies/**/*.* | |
| Use this rules on top of [calypso-client-rules.mdc](mdc:.cursor/rules/calypso-client-rules.mdc) | |
| ## Code Style and Structure | |
| ### Code Standards | |
| - When creating forms, use `calypso/a8c-for-agencies/components/form` and `calypso/components/forms/` components where possible. | |
| ### Style Conventions | |
| - Use [style.scss](mdc:client/a8c-for-agencies/style.scss) as an example. | |
| - Don't use `&--` & `&__` selectors and write full name when defining styles. | |
| - Avoid using `--studio*` colors and instead use `--color*`. Example, instead of `var(--studio-gray-50)` use `var(--color-neutral-50)`. | |
| ### Color and Typography Conventions | |
| #### Typography | |