cabal-club / cabal-mobile

p2p chat in your phone [dev help wanted :)]
Other
146 stars 16 forks source link

prettier + standard #24

Closed vesparny closed 6 years ago

vesparny commented 6 years ago

How about setting up prettier and standard for code formatting and linting? It would avoid nitpicking and ensure consistency, especially for contributors.

I'd be happy to submit a PR, in case.

soyuka commented 6 years ago

standard is enough imo :+1:

nikolaiwarner commented 6 years ago

I snuck standard in as a dev dependency in #5. Is that enough? Or does it need more setup to be fully enforced?

vesparny commented 6 years ago

I normally use it paired with lint-staged

soyuka commented 6 years ago

@nikolaiwarner test should be standard && jest (https://github.com/cabal-club/cabal-mobile/blob/master/package.json#L10 )