Please sign in to comment.
Add some more best practices
- Loading branch information...
|@@ -1,3 +1,17 @@|
|-- Use soft-tabs with a two space indent|
|+## Use soft tabs with a two space indent|
|+This follows the other conventions used within our projects.|
|+## Don't use CoffeeScript|
|+## Use a `.js-` prefix for JS-only HTML classes|
|+E.g `js-hidden`, `js-tab` etc. This makes it completely transparent what the class is used for within the HTML.|
|+You should only ever apply CSS classes and style from there. Otherwise you risk clobbering user stylesheets and mixing concerns across different code bases. Also see the previous point.|