-
Notifications
You must be signed in to change notification settings - Fork 7
Naming conventions
tjamesmac edited this page Jul 2, 2020
·
3 revisions
We employ several naming conventions within the codebase
Camel case
Snake case
Kebab case
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. We don't primarily work with Python but we do maintain eq-survey-runner
Snake case
is also used with naming constants in JavaScript. It is also used when naming graphql
queries/mutations etc.