econia-labs / emojicoin-dot-fun

https://emojicoin-dot-fun.vercel.app
Other
6 stars 14 forks source link

[ECO-2418] Separate format from lint in pre-commit so IDE's don't show a million… #358

Closed xbtmatt closed 1 week ago

xbtmatt commented 1 week ago

Description

Right now .eslintrc.js incorporates prettier, but it means while writing code you get a billion errors every second because nothing is formatted the first time you write it.

To avoid this, separate our prettier formatter from our eslint linter and call format:check separately in pre-commit to ensure it's still checked, but in a less intrusive/obstructive way.

Testing

Manually checked it by incorrectly formatting something and then running pre-commit.

Checklist

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
emojicoin-dot-fun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 1:59am
emojicoin-dot-fun-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 1:59am