- Variable names, front end HTML should all be written in British English - American English will be frowned upon
- Code should conform to flake8 and pylint linters
- If a view does not use the request variable, it should be renamed to _request
- HTML between django
{% %}
tags should be indented - Inverted commas should be used for tag attributes
- Code should conform to the eslint plugin 'eslint-plugin-standard'
- Files containing exported functions should contain an exported declaration on the first line as shown below:
/* exported foo */
function foo () {
return 'bar'
}
- Strings should be contained in apostrophes - not inverted commas
- Each CSS rule set should have one blank line between itself and other rule sets
- Declarations should be ordered alphabetically within a rule set*
*Guideline has yet to be implemented across the whole project