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).
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).