Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Do styling changes in openst-platform to follow the common style guide followed across all openst repos. #156

Open
JunishaM opened this issue Jul 26, 2018 · 0 comments

Comments

@JunishaM
Copy link

JunishaM commented Jul 26, 2018

PROBLEM : Making sure a coding style is properly followed is a big undertaking, it often slips through the cracks leaving the work inconsistent across repos.

SOLUTION
We came across Prettier https://prettier.io/ that automatically style the code. This will help the codebase be uniform and easier to read alongwith saving good amount of our time.

Prettier supports:

JavaScript, including ES2017
JSX
Flow
TypeScript
CSS, Less, and SCSS
JSON
GraphQL
Markdown, including GFM
YAML
It removes all original styling and ensures the outputted code conforms to a consistent style. (See this post)

@kedarchandrayan kedarchandrayan changed the title Do styling changes in openst-platform of follow the common style guide followed across all openst repos. Do styling changes in openst-platform to follow the common style guide followed across all openst repos. Jul 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant