Day 2 Talk 1 Simon Stewart A Linting Framework for Bazel

preview_player
Показать описание
Linting is a common part of developer workflows, helping to ensure that code meets social and technical standards within a team. In other build systems, sometimes linters are baked into the default toolchain (such as `go vert`), but frequently adding linting can be as simple as adding a dependency on the linter, and then setting up a configuration. If only it were that easy with Bazel!

Good news! It can be! "apple_rules_lint" provides a framework for ruleset authors to integrate with, providing a consistent way to add linters to a ruleset and expose those to users. Once integrated, this makes running lint tests a breeze: run "bazel test //..." and you're done!

In this talk, we shall cover the design philosophy of "apple_rules_lint", how it works, how you can integrate it into your own rulesets, and finally how you can use it in your builds.
Рекомендации по теме
visit shbcf.ru