- Use tabs in all files, instead of spaces.
- Naming conventions - my_var, funcAsync, MyClass.
- Follow the modern convention of using
let
andconst
, instead ofvar
for declaring variables.
- When creating a new feature/change, always create a branch(in git), before making any significant changes to code. This keeps the master branch of the code stable. (See workflow in git_instructions.md for more details)
- Branches should not be merged directly in
master
, but by creating a Pull Request. This allows for better communication on the new feature/change.
- Try to minimize use of 3rd party libraries, whenever possible.
- Add modules to
package.json
before commit, by runningnpm install --save express
ornpm install --save-dev nodemon
, whichever is appropriate.