bazelbuild / rules_postcss

PostCSS rules for Bazel
Apache License 2.0
10 stars 13 forks source link

Formatting pre-commit hook #52

Open rzhw opened 3 years ago

rzhw commented 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.