We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0838170 commit 85280b6Copy full SHA for 85280b6
1 file changed
.cursorrules
@@ -79,5 +79,9 @@ Follow these rules when you write code:
79
- Write concise, technical TypeScript code with accurate examples.
80
- Use functional and declarative programming patterns; avoid classes.
81
- Prefer iteration and modularization over code duplication.
82
-- Use descriptive variable names with auxiliary verbs (e.g., `isLoading`, `hasError`).
+- Use camelCase for variables, functions, and methods.
83
+- Use UPPERCASE for environment variables.
84
+- Start each function with a verb, Example: `handleClick`, `handleKeyDown`, `handleChange`, etc.
85
+- Use verbs for boolean variables. Example: `isLoading`, `hasError`, `canDelete`, etc.
86
+- Use complete words instead of abbreviations and correct spelling.
87
- Structure files with exported components, subcomponents, helpers, static content, and types.
0 commit comments