Toolkit Coding Standards
Coding Standards
-
All the file names should be in lower case separated by '-'.
-
Instead of having one big name for the classes or any properties/keys in JSON being used, we can separate the name by –. Ex: layout-primary.
-
In the JSON for the handlebars it should be such that we are not including the remaining properties/keys(try to create as objects) at the header level other than default keys such as layout, title, hbs etc..
-
Try to minimize the usage of class names and when creating any layouts the class names should not be exposed.