bazelbuild / vscode-bazel

Bazel support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel
Apache License 2.0
231 stars 76 forks source link

ci: Integrate `prettier` formatting #376

Closed vogelsgesang closed 2 months ago

vogelsgesang commented 2 months ago

So far, the code formatting was not checked by the CI. Now it is. To do so, this commit introduces a new check-format npm command. I did not use the eslint-prettier plugin because the guidance on https://prettier.io/docs/en/integrating-with-linters.html recommends against doing so.