[NPMBUILD-9] Add a style convention Created: 29/Feb/16 Updated: 07/Mar/16 Resolved: 03/Mar/16 |
|
| Status: | Closed |
| Project: | Magnolia light-module build tools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Maxime Michel | Assignee: | Maxime Michel |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Sprint: | Basel 33 |
| Story Points: | 1 |
| Description |
|
As pointed out by Topher, we need to find a common agreement as far as coding style goes. After discussing this together, we agreed to use http://www.standardjs.com for the time being. All this does basically is to set style rules with no ability to tweak them, therefore skipping us evaluations of various styles, and discussions. It can be installed as a Node plugin and bound to work with most if not all major text editors and IDEs. Various minor improvements to the structure of the project (mostly renaming) have also been added to this ticket, to get closer to a clear and idiomatic way of writing JS. |