Skip to content
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

Linter script #1191

Merged
merged 5 commits into from
Jan 29, 2021
Merged

Linter script #1191

merged 5 commits into from
Jan 29, 2021

Conversation

liucijus
Copy link
Collaborator

  • adds linting tool with reduced number of warning rules (I've disabled ones which are harder to fix quickly)
  • lint starlark files

lint.sh Outdated
@@ -2,4 +2,6 @@

set -eou pipefail

./tools/bazel run //tools:buildifier@fix
bazel run //tools:buildifier@fix
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there really a need for two commands? Why not have one with lint and format?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to a single command

@ittaiz ittaiz merged commit 84d7473 into bazelbuild:master Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants