Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
DevX 31, DevX 32
-
3
Description
Currently:
- prettier are applied for vue projects
- tslint are applied for angular projects
- eslint are applied for vue, react, template-annotations projects
- stylelint are not applied
Â
Therefore, our code are not consistent. Therefore, we should make them consistent by applying prettier, eslint, stylelint for all projects.
Â
Reference:
https://prettier.io/docs/en/integrating-with-linters.html
https://www.aiimi.com/insights/using-eslint-prettier-and-stylelint-for-insightmakers-front-end
https://github.com/angular-eslint/angular-eslint#notes-for-eslint-plugin-prettier-users (For Angular)
Note:
We should apply all default configs if possible.
Checklists
Attachments
Issue Links
- is related to
-
MGNLFE-351 Strange Angular project structure
-
- Open
-
-
MGNLFE-353 Remove redundant css in angular/react sample
-
- Open
-
-
MGNLFE-420 Run eslint and prettier for current Angular code
-
- Open
-
-
MGNLFE-425 Run eslint and prettier for current React code
-
- Open
-
-
MGNLFE-426 Run eslint and prettier for current Vue code
-
- Open
-
-
MGNLFE-427 Add pre-commit for forcing code format
-
- Open
-
-
MGNLFE-433 Run eslint and prettier for template-annotations project
-
- Open
-
-
MGNLFE-352 Upgrade Lerna
-
- Accepted
-