PromucFlow_constructor/.cursor/rules.json
Rahul Barwal a25f5f9f15
feat: Add cursor rules and configuration files (#39981)
## Description
Introduced a new directory for cursor-specific rules and behaviors,
including commit message guidelines and workspace rules for derived
files and Cypress tests. This enhances the consistency and clarity of
our development practices.


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Documentation**
- Expanded project guidelines to clarify best practices for team
communications, workspace organization, and testing procedures—enhancing
internal coordination and overall product quality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-03-31 14:50:55 +05:30

43 lines
892 B
JSON

{
"commitRules": {
"style": {
"concise": true,
"singleLine": true,
"format": {
"prefix": "verb",
"allowedPrefixes": [
"adds",
"removes",
"updates",
"fixes",
"refactors",
"implements",
"improves"
],
"bigChanges": {
"format": "heading + description",
"separator": "\n\n"
}
}
}
},
"workspaceRules": {
"derivedFiles": {
"commentStyle": {
"forbidden": "//",
"required": "/*** */"
}
},
"cypressTests": {
"runCommand": {
"directory": "app/client",
"command": "yarn cypress run --browser chrome --headless --spec {fileName}",
"filePathFormat": {
"input": "app/client/cypress/e2e/...",
"usage": "cypress/e2e/..."
}
}
}
}
}