4 ms·
I tried running it on save, but I can't "make" others configure their editors in a way I want (our fe team is around 10 ppl, be is much bigger). Lint-staged ca
by xab9 9y ago
I tried running it on save, but I can't "make" others configure their editors in a way I want (our fe team is around 10 ppl, be is much bigger).
Lint-staged can't handle partials, but precise-commits can, though we are using ls for now and will see how much this hurts in terms of partials.
- tlrobinson 9y ago> I can't "make" others configure their editors in a way I want We run `prettier -l` in CI, so it's up to each person to decide how they want to make sure their code is prettier-ed before being pushed. I'll check out precise-commits, thanks.
- matthew349hall 9y agoWhy not use gulp-watch or equivalent build tool in your stack somewhere so everytime a file is saved it gets ran through prettier?