Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.46 KB

coding-standards.md

File metadata and controls

30 lines (19 loc) · 1.46 KB

Coding Standards


This page outlines the tooling and standards that we align ourselves to when writing backend applications. Our aim is to produce clean and maintainable code. If our code lacks consistency, is poorly laid out and undocumented, we are adding to the overall complexity of our system.

NodeJS Projects

In all cases, we use ESLint to ensure that coding standards are adhered to.

We use the following ESLint plugins together.

Rule exceptions should not be made in projects unless absolutely necessary, with an active effort to remove exceptions to rules wherever possible.

PHP Projects

For our PHP projects we use PHPCS using the PSR2 coding standards.

We also use PHPCD to ensure that code is not duplicated within the project.

Further Reading