chore: cursor rules title casing (#39500)

This commit is contained in:
Raquel Smith
2025-10-17 12:39:53 -07:00
committed by GitHub
parent 7dfb988311
commit 836ea1d92d
2 changed files with 3 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ UI and Styling
- Follow BEM for modals (.DashboardMenu__modal)
- Import styles directly (MyComponent.scss)
- Replace custom SCSS with Tailwind when possible
- When mentioning PostHog products, the product names should use Sentence casing, not Title Casing. For example, 'Product analytics', not 'Product Analytics'. Any other buttons, tab text, tooltips, etc should also all use Sentence casing. For example, 'Save as view' instead of 'Save As View'.
Testing Requirements
- Logic tests for all Kea logic files
@@ -54,4 +55,4 @@ Core Principles
- Prioritize maintainability over development speed
- Keep data layer separate from view hierarchy
- Write clear, understandable code
- Think data first, implement views second
- Think data first, implement views second

View File

@@ -94,3 +94,4 @@ See `posthog/clickhouse/migrations/AGENTS.md` for comprehensive patterns, exampl
## General
- Use American English spelling
- When mentioning PostHog products, the product names should use Sentence casing, not Title Casing. For example, 'Product analytics', not 'Product Analytics'. Any other buttons, tab text, tooltips, etc should also all use Sentence casing. For example, 'Save as view' instead of 'Save As View'.