bazel-contrib / vscode-bazel

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

ci: Integrate `prettier` formatting #376

Closed vogelsgesang closed 7 months ago

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