mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-12-02 10:15:22 +00:00
16 lines
510 B
Python
16 lines
510 B
Python
|
"Create linter aspects, see https://github.com/aspect-build/rules_lint/blob/main/docs/linting.md#installation"
|
||
|
|
||
|
load("@aspect_rules_lint//lint:shellcheck.bzl", "lint_shellcheck_aspect")
|
||
|
load("@aspect_rules_lint//lint:vale.bzl", "lint_vale_aspect")
|
||
|
|
||
|
shellcheck = lint_shellcheck_aspect(
|
||
|
binary = "@multitool//tools/shellcheck",
|
||
|
config = "@@//:.shellcheckrc",
|
||
|
)
|
||
|
|
||
|
vale = lint_vale_aspect(
|
||
|
binary = "@@//tools/lint:vale_bin",
|
||
|
config = "@@//:.vale_ini",
|
||
|
styles = "@@//tools/lint:vale_styles",
|
||
|
)
|