diff --git a/.cursor/rules/README.mdc b/.cursor/rules/README.mdc index c9ae911da2..ab0e887fb7 100644 --- a/.cursor/rules/README.mdc +++ b/.cursor/rules/README.mdc @@ -1,7 +1,7 @@ --- -description: -globs: -alwaysApply: false +description: Twenty CRM development rules and best practices +globs: [] +alwaysApply: true --- # Twenty Development Rules diff --git a/.cursor/rules/architecture.mdc b/.cursor/rules/architecture.mdc index 203b91049b..5bdf09e62c 100644 --- a/.cursor/rules/architecture.mdc +++ b/.cursor/rules/architecture.mdc @@ -1,9 +1,4 @@ --- -description: -globs: -alwaysApply: false ---- ---- description: Twenty CRM architecture overview - monorepo structure, tech stack, and development principles globs: [] alwaysApply: true diff --git a/.cursor/rules/code-style.mdc b/.cursor/rules/code-style.mdc index 4b0d124aff..d2f548e3df 100644 --- a/.cursor/rules/code-style.mdc +++ b/.cursor/rules/code-style.mdc @@ -1,7 +1,7 @@ --- -description: -globs: -alwaysApply: false +description: Code style guidelines for Twenty CRM +globs: [] +alwaysApply: true --- # Code Style Guidelines diff --git a/.cursor/rules/file-structure.mdc b/.cursor/rules/file-structure.mdc index fbdf6b502b..5fdcb6d546 100644 --- a/.cursor/rules/file-structure.mdc +++ b/.cursor/rules/file-structure.mdc @@ -1,7 +1,7 @@ --- -description: -globs: -alwaysApply: false +description: File structure guidelines for Twenty CRM +globs: [] +alwaysApply: true --- # File Structure Guidelines diff --git a/.cursor/rules/nx-rules.mdc b/.cursor/rules/nx-rules.mdc index de338c6a1d..a0af037366 100644 --- a/.cursor/rules/nx-rules.mdc +++ b/.cursor/rules/nx-rules.mdc @@ -1,12 +1,7 @@ --- description: Guidelines and best practices for working with Nx in the Twenty workspace, including workspace architecture understanding, configuration management, and generator usage. -globs: -alwaysApply: false ---- ---- -description: Guidelines and best practices for working with Nx in the Twenty workspace, including workspace architecture understanding, configuration management, and generator usage. globs: ["**/nx.json", "**/project.json", "**/workspace.json"] -alwaysApply: false +alwaysApply: true --- # Nx Guidelines diff --git a/.cursor/rules/react-general-guidelines.mdc b/.cursor/rules/react-general-guidelines.mdc index 30575cdc11..42e7032884 100644 --- a/.cursor/rules/react-general-guidelines.mdc +++ b/.cursor/rules/react-general-guidelines.mdc @@ -1,6 +1,5 @@ --- -description: -globs: +description: React general guidelines for Twenty CRM alwaysApply: false --- # React Guidelines diff --git a/.cursor/rules/react-state-management.mdc b/.cursor/rules/react-state-management.mdc index b68f9e5a3b..0f5328771f 100644 --- a/.cursor/rules/react-state-management.mdc +++ b/.cursor/rules/react-state-management.mdc @@ -1,6 +1,5 @@ --- -description: -globs: +description: React state management guidelines for Twenty CRM alwaysApply: false --- # React State Management diff --git a/.cursor/rules/testing-guidelines.mdc b/.cursor/rules/testing-guidelines.mdc index 50a58afb07..c01057448d 100644 --- a/.cursor/rules/testing-guidelines.mdc +++ b/.cursor/rules/testing-guidelines.mdc @@ -1,6 +1,5 @@ --- -description: -globs: +description: Testing guidelines for Twenty CRM alwaysApply: false --- # Testing Guidelines diff --git a/.cursor/rules/translations.mdc b/.cursor/rules/translations.mdc index 3f8cb68767..aaef178efb 100644 --- a/.cursor/rules/translations.mdc +++ b/.cursor/rules/translations.mdc @@ -1,6 +1,5 @@ --- -description: -globs: +description: Translation guidelines for Twenty CRM alwaysApply: false --- # Translation Guidelines diff --git a/.cursor/rules/typescript-guidelines.mdc b/.cursor/rules/typescript-guidelines.mdc index 27befea35e..b5387243bf 100644 --- a/.cursor/rules/typescript-guidelines.mdc +++ b/.cursor/rules/typescript-guidelines.mdc @@ -1,6 +1,5 @@ --- -description: -globs: +description: TypeScript best practices and conventions for the Twenty codebase, including strict typing, naming conventions, and type safety guidelines. alwaysApply: false --- ---