timea-solid / SolidPeriodTracker

This is an Open Source Period Tracker in the making that just happens to be using Solid.
12 stars 4 forks source link

updating eslint and prettier #22

Closed YetAnotherJonWilson closed 1 year ago

YetAnotherJonWilson commented 1 year ago

Trying to create a simple experience of formatting and linting, and consistency in our styles--I'm definitely open to any changes for specific formatting rules (like using tabs instead of spaces or removing semicolons, etc.)--this is just one proposal.

With these changes, when editing in VSCode, files should be formatted automatically on save. In other code editors, this should be relatively easy to set up.

Ax far as workflow goes, the formatting should be handled automatically by the prettier library and settings. And before making a commit, you can lint by running npm run lint, which will show any issues (based on the rules, which are mostly according to the popular styles, I believe).

YetAnotherJonWilson commented 1 year ago

@timea-solid Conflicts resolved.