You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the Bazel migration, we are now having BUILD and .bzl files in our codebase. We would like to add a linter that ensures all the Bazel files follow the same style.
With the Bazel migration, we are now having
BUILD
and.bzl
files in our codebase. We would like to add a linter that ensures all the Bazel files follow the same style.We are looking forward to options like Skylint.
Skylint is not much recommended by officials, so we have another option to use Buildifier and it's Linter
Buildifier can be easily set up within the codebase. Link
Reference
We have to fix this in parts
For this, we might have to do some additional stuff on WORKSPACE as well as BUILD file.
Run the linter on our existing Bazel files. Create a PR that fixes all lint problems that the linter catches
Add steps in the linter job of our GitHub Action workflow (similar to the Kotlin linting step) that will install and run the linter on our Bazel files
Add documentation on how to install the linter in the prerequisites section of our wiki
The text was updated successfully, but these errors were encountered: