bitcart / bitcart-admin

Bitcart Admin Panel

Home Page:https://admin.bitcart.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set up formatting guidelines

MrNaif2018 opened this issue · comments

Currently, we don't have any formatting set up (I format code with vscode eslint extension, but it isn't a formatter actually).
We should create something like https://github.com/bitcartcc/bitcart/blob/master/CODING_STANDARDS.md#formatting, but for vue repos.
What are the choices available? Prettier, for example?
Last time I used it, it was formatting files in a weird way, but it's probably opinionated.
Ideally our formatter we'll use should be like black in python - https://github.com/psf/black - almost no configuration, but sensible, good for readability choices.
We'll need the formatter we choose to be able to check if files are formatted correctly - we need it as a part of our CI process.
P.S. @orestischaral you may want to take a look at it

See here