animl-frontend icon indicating copy to clipboard operation
animl-frontend copied to clipboard

Add lint staged to make formatting consistent

Open lessej opened this issue 6 months ago • 0 comments

Context

Noticing that if people don't run prettier themselves, there's nothing to prevent these changes from being merged into the main branch. This causes a ton of unrelated formatting changes that obscure actual feature implementations when prettier is used in future branches. Lint-staged keeps the current linting functionality but also formats the staged files when you commit.

lessej avatar May 21 '25 16:05 lessej