Clarify UK-english in coding conventions

This commit is contained in:
Ingo Schommer 2016-12-09 11:28:28 +13:00
parent f39c4d94f2
commit ad99da1c2e
2 changed files with 10 additions and 0 deletions

View File

@ -21,6 +21,11 @@ as well as the [AirBnB React Conventions](https://github.com/airbnb/javascript/t
A lot of their rules can be validated via [ESLint](http://eslint.org/),
and can be checked locally via `npm run lint`.
## Spelling
All symbols and documentation should use UK-English spelling (e.g. "behaviour" instead of "behavior"),
except when necessitated by third party conventions (e.g using "color" for CSS styles).
## File and Folder Naming
- All frontend files (CSS, JavaScript, images) should be placed in

View File

@ -34,6 +34,11 @@ linefeed combination (CRLF) as is standard for the Windows OS (0x0D, 0x0A).
Class, function, variable and constant names may only contain alphanumeric characters and underscores.
## Spelling
All symbols and documentation should use UK-English spelling (e.g. "behaviour" instead of "behavior"),
except when necessitated by third party conventions (e.g using PHP's `Serializable` interface).
### Classes
Class and filenames are in `UpperCamelCase` format: