Open rzhw opened 3 years ago
We can consider adding a pre-commit hook to either manually require, or automatically apply formatting.
For example, bazelbuild/rules_nodejs does the former, causing commits to fail if files aren't formatted, and telling the author to run yarn format.
yarn format
We can consider adding a pre-commit hook to either manually require, or automatically apply formatting.
For example, bazelbuild/rules_nodejs does the former, causing commits to fail if files aren't formatted, and telling the author to run
yarn format
.