For Angular we are already using this style guide (for which I’ve create this eslint config). We should publish this as a package on
npm and include it with the generator if the user chooses to install Angular as a dependency.
Also, it includes packages, which make it easy to use and to override specific rules if we don’t like them.
If anyone has any objections, let’s discuss them here.
We should standardize on airbnb’s style guide (I’m gonna work on bringing dashboard’s codebase in line with it) – as well as post GSoC, migrating us away from ES5.
From peeking at the airbnb style guide I think that some of its recommendations require ES6. Is that correct, and is that something we want?
I found this eslint plugin that implements the Angular style guide we are using. I’ll add it to the concept dictionary OWA so we can try it out.
I took the liberty of documenting (my proposal for) the style recommendations on this wiki page. Everyone is free to edit the page or discuss here.