sambegin / Firesteer

A brilliant desktop application that gives you full control over your Firestore database
MIT License
7 stars 1 forks source link

Update lint configs / code style #2

Open sambegin opened 6 years ago

sambegin commented 6 years ago

Just pick a eslint configuration we will be confortable with...

What would be nice is to have a common code style for any IDE.

wilau2 commented 6 years ago

I suggest we use prettier with linted-stage and husky. Option 1. listed here .lint.staged.json

{
  "*.{js,json,css,md}": [
    "prettier --arrow-parens always --trailing-comma all --single-quote --print-width 100 --write",
    "git add"
  ]
}