Ember / JavaScript Code Standards
Click here for Standards
Click here for Django / Python Code Standards
Click here for Documentation
Click here for HTML Code Standards
Click here for Security Standards - Development
Click here for Sys-Admin and Configuration Management
Click here for Technology Standards
Click here for UI Standards
Classes
Order of attributes in a class:
services
model
# alphabetical
Prettier
Using front/prettier.config.js
:
module.exports = {
trailingComma: "none",
tabWidth: 2,
semi: false,
singleQuote: false,
bracketSpacing: true,
arrowParens: "avoid",
printWidth: 80
}
npm run prettier
npm run prettier:hbs
Handlebars
Tim is using the following Atom plugin: https://github.com/kandhavivekraj/beautify-handlebars
Tip
You have to manually remove /
from <hr/>
.