Skip to content

All code styleguides must be enforceable by tools #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
coderbyheart opened this issue Jun 25, 2019 · 0 comments
Open

All code styleguides must be enforceable by tools #24

coderbyheart opened this issue Jun 25, 2019 · 0 comments

Comments

@coderbyheart
Copy link
Owner

coderbyheart commented Jun 25, 2019

If there is no tool to fix a style issue, then I won't enforce the rule.

It's important to have an automated way of formatting source code to eliminate discussions around style and remove noise from diffs.

The best way to handle it is to fix all fixable errors using lint-staged and Prettier. That way developers won't even notice. Good IDEs are able to apply prettier style guides automatically even during editing.

See https://github.com/bifravst/code-style

@coderbyheart coderbyheart changed the title All code styleguides must be ensured by tools All code styleguides must be enforceable by tools Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant