[MGNLFE-350] Apply the same code format and linter for all Created: 13/Oct/22 Updated: 11/Jul/23 Resolved: 03/Mar/23 |
|
| Status: | Closed |
| Project: | Magnolia Frontend Helpers |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.4 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Phong Le Quoc | Assignee: | Phong Le Quoc |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 9d 3.75h | Time Spent: | 9d 3.75h |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||||||
| Epic Link: | SPA Editor Backlog | ||||||||||||||||||||||||||||||||||||
| Sprint: | DevX 31, DevX 32 | ||||||||||||||||||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||||||||||||||||||
| Team: | |||||||||||||||||||||||||||||||||||||
| Work Started: | |||||||||||||||||||||||||||||||||||||
| Description |
|
Currently:
Therefore, our code are not consistent. Therefore, we should make them consistent by applying prettier, eslint, stylelint for all projects.
Reference: Note: |
| Comments |
| Comment by Canh Nguyen [ 14/Oct/22 ] |
|
We could use eslint with prettier with the same rules for all projects and config lint tasks when building projects. |
| Comment by Christopher Zimmermann [ 15/Feb/23 ] |
|
Nice initiative! |