Skip to content
This repository was archived by the owner on Mar 14, 2019. It is now read-only.
This repository was 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

@JunishaM

Description

@JunishaM

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions