Closed EvanHahn closed 4 months ago
This makes two improvements to lint-staged:
lint-staged
Run Prettier on all files, not just some extensions.
Only check files, not fix them. This addresses a race condition (search lint-staged's docs for "race condition").
(I know there's some controversy about whether to use lint-staged at all, but I think these are improvements we can adopt regardless.)
This makes two improvements to
lint-staged
:Run Prettier on all files, not just some extensions.
Only check files, not fix them. This addresses a race condition (search lint-staged's docs for "race condition").
(I know there's some controversy about whether to use
lint-staged
at all, but I think these are improvements we can adopt regardless.)