rethinkdb-desktop icon indicating copy to clipboard operation
rethinkdb-desktop copied to clipboard

Prettier pre-commit hook

Open oferitz opened this issue 6 years ago • 8 comments

Create pre-commit hook to automate Prettier integration.

https://prettier.io/docs/en/precommit.html

oferitz avatar May 23 '18 12:05 oferitz

+1

On Wed, May 23, 2018 at 6:22 PM, Ofer Itzhaki [email protected] wrote:

Create pre-commit hook to automate prettier integration.

https://prettier.io/docs/en/precommit.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RebirthDB/electron-admin/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpO41Y75AG_ifvYzqhYqr_bDJF359ELks5t1VujgaJpZM4UKY3J .

-- Regards,

Atri l'apprenant

atris avatar May 23 '18 12:05 atris

What do you think about StandardJS?

thelinuxlich avatar May 23 '18 16:05 thelinuxlich

@thelinuxlich i like StandardJS. in terms of style i set Prettier in the spirit of StandardJS, we can definitely use them together Prettier for code style and Standard for linting. it might require some non-trivial tweaking, but it's due-able.

oferitz avatar May 23 '18 17:05 oferitz

Nice, I will do the same with the rethinkdbdash codebase.

thelinuxlich avatar May 23 '18 17:05 thelinuxlich

Not critical for me but I am +1 for StandardJS but -1 for Prettier. I find StandardJS saves time and merge conflicts but prettier does the opposite. At least that's been my experience.

sagivf avatar May 25 '18 12:05 sagivf

@oferitz @thelinuxlich @sagivf @atris I would like to start with this issue, to also go along with the project codebase.

It still keep the same logic of integrating prettier with standartjs?

rodrigooler avatar Aug 31 '18 03:08 rodrigooler

@rodrigooler Go head! :rocket: :rocket:

sagivf avatar Sep 03 '18 09:09 sagivf

should this issue be closed?

PierreAndreis avatar Feb 09 '19 04:02 PierreAndreis