-
Notifications
You must be signed in to change notification settings - Fork 7
Naming conventions
Joshua Chapman edited this page Feb 23, 2023
·
3 revisions
We employ several naming conventions within the codebase
- Camel case (e.g. helloWorld)
- Snake case (e.g. hello_world)
- Kebab case (e.g. hello-world)
Used when working with JavaScript; this includes file names, variables, components and pretty much anything else.
Camel case is not used when naming constants that are capitalised, Snake case is used instead.
Used for importing dependencies within JavaScript based code
Used with naming variables in Python.
Snake case is also used with naming constants in JavaScript. It is also used when naming graphql queries/mutations etc.