Naming
Files
All files must be named in lowercase and use the underscore as a separator (snake_case
), except for the following files:
Mongoose models, which must be named in
camelCase
.Express routers, which must be named in
snake_case
.Vue components, which must be named in
PascalCase
.Assets, which must be named in
kebab-case
.
Variables
All variables must be named in camelCase
.
Constants
All constants must be named in uppercase and use the underscore as a separator (SCREAMING_SNAKE_CASE
).
Functions/Methods
All functions and methods must be named in camelCase
.
Classes
All classes must be named in PascalCase
.
Last modified: 21 December 2023