Graze coding standards
This documentation is also available in mkdocs.
This document describes the coding standards of Graze across its common languages to be adhered to and enforced by the Graze tech team, any violation of standards must be justified by the developer and exceptions are allowed for cases where it is unavoidable, such as in the case of third-party integrations.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
- Indent size MUST be 4 space characters and MUST NOT be the tab character.
- All files MUST end with a blank new line (the new line character).
- All files MUST use the Unix LF (linefeed) line ending.
- There MUST NOT be trailing whitespace.
- Repo names SHOULD be all lowercase with hyphens (-) to separate words where appropriate.
- Internal-only libraries SHOULD be prefixed with "graze-".
- It is RECOMMENDED to follow the style guide mantained in agis-/git-style-guide.
You can test mkdocs by calling:
This will start a development server in docker on port