familyHub/.cursor/rules/naming-conventions.mdc

22 lines
473 B
Plaintext

---
description:
globs: *.php,*.js,*.css
alwaysApply: false
---
.php files should use the following naming conventions:
"classes": "PascalCase",
"functions": "camelCase",
"variables": "camelCase",
"constants": "UPPER_SNAKE_CASE"
.js files should use the following naming conventions:
"functions": "camelCase",
"variables": "camelCase",
"constants": "UPPER_SNAKE_CASE"
.css files should us the following naming conventions:
"ids": "camelCase",
"classes": "kebab-case"