Closed renovate[bot] closed 1 month ago
All tests were cache hits
197 tests (100.0%) were fully cached saving 38s.
All tests were cache hits
5 tests (100.0%) were fully cached saving 1s.
All tests were cache hits
2 tests (100.0%) were fully cached saving 236ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 7s.
All tests were cache hits
3 tests (100.0%) were fully cached saving 839ms.
All tests were cache hits
3 tests (100.0%) were fully cached saving 745ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 27ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 27ms.
All tests were cache hits
2 tests (100.0%) were fully cached saving 296ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 112ms.
All tests were cache hits
3 tests (100.0%) were fully cached saving 716ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 192ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 81ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 81ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 713ms.
All tests were cache hits
40 tests (100.0%) were fully cached saving 3s.
All tests were cache hits
10 tests (100.0%) were fully cached saving 2s.
All tests were cache hits
10 tests (100.0%) were fully cached saving 2s.
All tests were cache hits
2 tests (100.0%) were fully cached saving 233ms.
All tests were cache hits
2 tests (100.0%) were fully cached saving 153ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 171ms.
This PR contains the following updates:
v2.7.8
->v2.9.1
v0.7.0
->v0.21.0
Release Notes
aspect-build/bazel-lib (aspect_bazel_lib)
### [`v2.9.1`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.9.1) [Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.9.0...v2.9.1) #### Using Bzlmod with Bazel 6: 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_bazel_lib", version = "2.9.1") ``` > Read more about bzlmod:aspect-build/rules_lint (aspect_rules_lint)
### [`v0.21.0`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.21.0) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.20.0...v0.21.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.21.0") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.21.0/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.21.0/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "1e679b081750ca9cedad4f79e371ee5e14d9a157de8018661af9fe45879100b2", strip_prefix = "rules_lint-0.21.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.21.0/rules_lint-v0.21.0.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_swiftformat", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:pmd.bzl", "fetch_pmd") fetch_pmd() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") fetch_ruff() load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() load("@aspect_rules_lint//lint:ktlint.bzl", "fetch_ktlint") fetch_ktlint() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfiles = [ "@aspect_rules_lint//format:multitool.lock.json", "@aspect_rules_lint//lint:multitool.lock.json", ], ) ``` #### What's Changed - feat: add rustfmt by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/235](https://redirect.github.com/aspect-build/rules_lint/pull/235) - Use explicit labels to allow using from other repositories by [@calebzulawski](https://redirect.github.com/calebzulawski) in [https://github.com/aspect-build/rules_lint/pull/236](https://redirect.github.com/aspect-build/rules_lint/pull/236) - fix(format): Skip files with skip-worktree bit set by [@honnix](https://redirect.github.com/honnix) in [https://github.com/aspect-build/rules_lint/pull/234](https://redirect.github.com/aspect-build/rules_lint/pull/234) - chore: remove old ruff versions by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/237](https://redirect.github.com/aspect-build/rules_lint/pull/237) #### New Contributors - [@calebzulawski](https://redirect.github.com/calebzulawski) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/236](https://redirect.github.com/aspect-build/rules_lint/pull/236) - [@honnix](https://redirect.github.com/honnix) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/234](https://redirect.github.com/aspect-build/rules_lint/pull/234) **Full Changelog**: https://github.com/aspect-build/rules_lint/compare/v0.20.0...v0.21.0 ### [`v0.20.0`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.20.0) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.19.0...v0.20.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.20.0") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.20.0/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.20.0/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "572be80134ce36b0ad17229a37945efdfa1381468ae804008a1a16dc35686a05", strip_prefix = "rules_lint-0.20.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.20.0/rules_lint-v0.20.0.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_swiftformat", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:pmd.bzl", "fetch_pmd") fetch_pmd() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") fetch_ruff() load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() load("@aspect_rules_lint//lint:ktlint.bzl", "fetch_ktlint") fetch_ktlint() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfiles = [ "@aspect_rules_lint//format:multitool.lock.json", "@aspect_rules_lint//lint:multitool.lock.json", ], ) ``` #### What's Changed - chore(deps): update terraform to latest by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/202](https://redirect.github.com/aspect-build/rules_lint/pull/202) - feat: remove golangci-lint by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/207](https://redirect.github.com/aspect-build/rules_lint/pull/207) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/209](https://redirect.github.com/aspect-build/rules_lint/pull/209) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/213](https://redirect.github.com/aspect-build/rules_lint/pull/213) - fix: pass flag to shfmt to ignore passed files in check mode by [@daewok](https://redirect.github.com/daewok) in [https://github.com/aspect-build/rules_lint/pull/211](https://redirect.github.com/aspect-build/rules_lint/pull/211) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/214](https://redirect.github.com/aspect-build/rules_lint/pull/214) - Update flake8 docs by [@codrin-lanterne](https://redirect.github.com/codrin-lanterne) in [https://github.com/aspect-build/rules_lint/pull/206](https://redirect.github.com/aspect-build/rules_lint/pull/206) - feat(format): Add ability to ignore files by [@mrmeku](https://redirect.github.com/mrmeku) in [https://github.com/aspect-build/rules_lint/pull/210](https://redirect.github.com/aspect-build/rules_lint/pull/210) - feat(lint): Add Kotlin linter using `ktlint` by [@smocherla-brex](https://redirect.github.com/smocherla-brex) in [https://github.com/aspect-build/rules_lint/pull/215](https://redirect.github.com/aspect-build/rules_lint/pull/215) - chore: add sh_test for ls-files function by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/216](https://redirect.github.com/aspect-build/rules_lint/pull/216) - ktlint: Add option to use custom rulesets by [@smocherla-brex](https://redirect.github.com/smocherla-brex) in [https://github.com/aspect-build/rules_lint/pull/220](https://redirect.github.com/aspect-build/rules_lint/pull/220) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/218](https://redirect.github.com/aspect-build/rules_lint/pull/218) - fix: use `allow_files` in `lint_ruff_aspect` by [@lpulley](https://redirect.github.com/lpulley) in [https://github.com/aspect-build/rules_lint/pull/217](https://redirect.github.com/aspect-build/rules_lint/pull/217) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/223](https://redirect.github.com/aspect-build/rules_lint/pull/223) - chore: don't cancel concurrent main builds by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_lint/pull/226](https://redirect.github.com/aspect-build/rules_lint/pull/226) - feat(lint): plumb exit codes as outputs rather than dropping them by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/225](https://redirect.github.com/aspect-build/rules_lint/pull/225) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/232](https://redirect.github.com/aspect-build/rules_lint/pull/232) - fix: lint.sh pass norun_validations by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/231](https://redirect.github.com/aspect-build/rules_lint/pull/231) - refactor: produce report and exit code in the same action with fixes by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/227](https://redirect.github.com/aspect-build/rules_lint/pull/227) - chore: compatibility with rules_js 2 by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/221](https://redirect.github.com/aspect-build/rules_lint/pull/221) #### New Contributors - [@daewok](https://redirect.github.com/daewok) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/211](https://redirect.github.com/aspect-build/rules_lint/pull/211) - [@codrin-lanterne](https://redirect.github.com/codrin-lanterne) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/206](https://redirect.github.com/aspect-build/rules_lint/pull/206) - [@mrmeku](https://redirect.github.com/mrmeku) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/210](https://redirect.github.com/aspect-build/rules_lint/pull/210) - [@smocherla-brex](https://redirect.github.com/smocherla-brex) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/215](https://redirect.github.com/aspect-build/rules_lint/pull/215) - [@lpulley](https://redirect.github.com/lpulley) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/217](https://redirect.github.com/aspect-build/rules_lint/pull/217) **Full Changelog**: https://github.com/aspect-build/rules_lint/compare/v0.18.0...v0.20.0 ### [`v0.19.0`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.19.0) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.18.0...v0.19.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.19.0") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.19.0/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.19.0/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "5c9ec682c4d25bd05a1140e0a85d120eb379d46e35bf5770c83ffaf0db680c3c", strip_prefix = "rules_lint-0.19.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.19.0/rules_lint-v0.19.0.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_swiftformat", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:pmd.bzl", "fetch_pmd") fetch_pmd() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") ### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290 fetch_ruff("v0.3.2") load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() load("@aspect_rules_lint//lint:ktlint.bzl", "fetch_ktlint") fetch_ktlint() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfiles = [ "@aspect_rules_lint//format:multitool.lock.json", "@aspect_rules_lint//lint:multitool.lock.json", ], ) ``` #### What's Changed - chore(deps): update terraform to latest by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/202](https://redirect.github.com/aspect-build/rules_lint/pull/202) - feat: remove golangci-lint by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/207](https://redirect.github.com/aspect-build/rules_lint/pull/207) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/209](https://redirect.github.com/aspect-build/rules_lint/pull/209) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/213](https://redirect.github.com/aspect-build/rules_lint/pull/213) - fix: pass flag to shfmt to ignore passed files in check mode by [@daewok](https://redirect.github.com/daewok) in [https://github.com/aspect-build/rules_lint/pull/211](https://redirect.github.com/aspect-build/rules_lint/pull/211) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/214](https://redirect.github.com/aspect-build/rules_lint/pull/214) - Update flake8 docs by [@codrin-lanterne](https://redirect.github.com/codrin-lanterne) in [https://github.com/aspect-build/rules_lint/pull/206](https://redirect.github.com/aspect-build/rules_lint/pull/206) - feat(format): Add ability to ignore files by [@mrmeku](https://redirect.github.com/mrmeku) in [https://github.com/aspect-build/rules_lint/pull/210](https://redirect.github.com/aspect-build/rules_lint/pull/210) - feat(lint): Add Kotlin linter using `ktlint` by [@smocherla-brex](https://redirect.github.com/smocherla-brex) in [https://github.com/aspect-build/rules_lint/pull/215](https://redirect.github.com/aspect-build/rules_lint/pull/215) - chore: add sh_test for ls-files function by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/216](https://redirect.github.com/aspect-build/rules_lint/pull/216) #### New Contributors - [@daewok](https://redirect.github.com/daewok) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/211](https://redirect.github.com/aspect-build/rules_lint/pull/211) - [@codrin-lanterne](https://redirect.github.com/codrin-lanterne) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/206](https://redirect.github.com/aspect-build/rules_lint/pull/206) - [@mrmeku](https://redirect.github.com/mrmeku) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/210](https://redirect.github.com/aspect-build/rules_lint/pull/210) - [@smocherla-brex](https://redirect.github.com/smocherla-brex) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/215](https://redirect.github.com/aspect-build/rules_lint/pull/215) **Full Changelog**: https://github.com/aspect-build/rules_lint/compare/v0.18.0...v0.19.0 ### [`v0.18.0`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.18.0) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.17.0...v0.18.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.18.0") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.18.0/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.18.0/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "a3e07f07216b6b406d2297c273e7af4cc8096b43288952020cdf4dc12f45b5e8", strip_prefix = "rules_lint-0.18.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.18.0/rules_lint-v0.18.0.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_swiftformat", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:pmd.bzl", "fetch_pmd") fetch_pmd() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") ### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290 fetch_ruff("v0.3.2") load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfiles = [ "@aspect_rules_lint//format:multitool.lock.json", "@aspect_rules_lint//lint:multitool.lock.json", ], ) ``` #### What's Changed - docs: update install docs for non-multitool linters by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/204](https://redirect.github.com/aspect-build/rules_lint/pull/204) - refactor: bring linters under rules_multitool by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/203](https://redirect.github.com/aspect-build/rules_lint/pull/203) **Full Changelog**: https://github.com/aspect-build/rules_lint/compare/v0.17.0...v0.18.0 ### [`v0.17.0`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.17.0) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.16.0...v0.17.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.17.0") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.17.0/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.17.0/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "e8b26aab8d587e596d1463545f799a601edfb5f31b84db3f39a751f03407e2e5", strip_prefix = "rules_lint-0.17.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.17.0/rules_lint-v0.17.0.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_pmd", "fetch_swiftformat", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_pmd() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") ### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290 fetch_ruff("v0.3.2") load("@aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint") fetch_golangci_lint() load("@aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck") fetch_shellcheck() load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfile = "@aspect_rules_lint//format:multitool.lock.json", ) ``` #### What's Changed - fix: format\[\_test] macros handle common attrs by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/200](https://redirect.github.com/aspect-build/rules_lint/pull/200) - feat: shellcheck apply fixes by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/196](https://redirect.github.com/aspect-build/rules_lint/pull/196) - feat(format): expose print_command and change default to False by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/198](https://redirect.github.com/aspect-build/rules_lint/pull/198) **Full Changelog**: https://github.com/aspect-build/rules_lint/compare/v0.16.0...v0.17.0 ### [`v0.16.0`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.16.0) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.15.0...v0.16.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.16.0") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.16.0/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.16.0/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "140ae8a51758d5cdec43d97ccf94b4069a571347f0919e606debcd57e62ac745", strip_prefix = "rules_lint-0.16.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.16.0/rules_lint-v0.16.0.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_pmd", "fetch_swiftformat", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_pmd() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") ### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290 fetch_ruff("v0.3.2") load("@aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint") fetch_golangci_lint() load("@aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck") fetch_shellcheck() load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfile = "@aspect_rules_lint//format:multitool.lock.json", ) ``` #### What's Changed - docs: indicate how to configure formatters by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/186](https://redirect.github.com/aspect-build/rules_lint/pull/186) - chore: add terraform_linux_aarch64 by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/aspect-build/rules_lint/pull/187](https://redirect.github.com/aspect-build/rules_lint/pull/187) - chore: upgrade rules_proto by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/165](https://redirect.github.com/aspect-build/rules_lint/pull/165) - feat: format_test by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/aspect-build/rules_lint/pull/189](https://redirect.github.com/aspect-build/rules_lint/pull/189) - feat: provide a default for Terraform formatter by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/188](https://redirect.github.com/aspect-build/rules_lint/pull/188) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/193](https://redirect.github.com/aspect-build/rules_lint/pull/193) - chore: update docs for 1.0 by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/190](https://redirect.github.com/aspect-build/rules_lint/pull/190) - docs: add 'how to add formatter' by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/195](https://redirect.github.com/aspect-build/rules_lint/pull/195) #### New Contributors - [@hunshcn](https://redirect.github.com/hunshcn) made their first contribution in [https://github.com/aspect-build/rules_lint/pull/187](https://redirect.github.com/aspect-build/rules_lint/pull/187) **Full Changelog**: https://github.com/aspect-build/rules_lint/compare/v0.15.0...v0.16.0 ### [`v0.15.0`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.15.0) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.14.2...v0.15.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.15.0") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.15.0/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.15.0/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "e5be0ba6935d2749790a19314088692e8b51f53d15f8030df0a18734988d74b2", strip_prefix = "rules_lint-0.15.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.15.0/rules_lint-v0.15.0.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_pmd", "fetch_swiftformat", "fetch_terraform", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_pmd() fetch_terraform() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") ### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290 fetch_ruff("v0.3.2") load("@aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint") fetch_golangci_lint() load("@aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck") fetch_shellcheck() load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfile = "@aspect_rules_lint//format:multitool.lock.json", ) ``` #### What's Changed - ruff: force exclude honoring in check mode too by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/172](https://redirect.github.com/aspect-build/rules_lint/pull/172) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/173](https://redirect.github.com/aspect-build/rules_lint/pull/173) - Changes by create-pull-request action by [@github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_lint/pull/177](https://redirect.github.com/aspect-build/rules_lint/pull/177) - chore: update aspect-cli to latest by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/180](https://redirect.github.com/aspect-build/rules_lint/pull/180) - Update lint.sh by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/181](https://redirect.github.com/aspect-build/rules_lint/pull/181) - Revert "Revert "Use multirun ([#160](https://redirect.github.com/aspect-build/rules_lint/issues/160))" ([#171](https://redirect.github.com/aspect-build/rules_lint/issues/171))" by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/182](https://redirect.github.com/aspect-build/rules_lint/pull/182) - chore: upgrade rules_multitool for WORKSPACE users by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/183](https://redirect.github.com/aspect-build/rules_lint/pull/183) - chore: fix ci, need newer bazel_features version by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/184](https://redirect.github.com/aspect-build/rules_lint/pull/184) - fix(format): don't bail check mode on first error by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_lint/pull/185](https://redirect.github.com/aspect-build/rules_lint/pull/185) **Full Changelog**: https://github.com/aspect-build/rules_lint/compare/v0.14.2...v0.15.0 ### [`v0.14.2`](https://redirect.github.com/aspect-build/rules_lint/releases/tag/v0.14.2) [Compare Source](https://redirect.github.com/aspect-build/rules_lint/compare/v0.14.1...v0.14.2) #### BREAKING CHANGES Getting ready for 1.0 so a bunch of breaking changes have landed since v0.13. - Many renames: Public API symbol symbols now prefixed with `lint_` - WORKSPACE users should check the snippet below: - must now call `rules_lint_dependencies()` - must either install rules_multitool, or set some languages to False in call to `format_multirun` - multi_formatter_binary renamed to format_multirun - attribute `protobuf` renamed to `protocol_buffer` #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_lint", version = "0.14.2") ### Next, follow the install instructions for ### - linting: https://github.com/aspect-build/rules_lint/blob/v0.14.2/docs/linting.md ### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.14.2/docs/formatting.md ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_lint", sha256 = "07dd6258894757e44db1a5dd3650731c1432cad7795afdaa6d945d4ba3b84f68", strip_prefix = "rules_lint-0.14.2", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.14.2/rules_lint-v0.14.2.tar.gz", ) ### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works. http_archive( name = "aspect_bazel_lib", sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3", strip_prefix = "bazel-lib-2.4.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") ### aspect_bazel_lib depends on bazel_skylib aspect_bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", ### Fetch additional formatter binaries you need: "fetch_java_format", "fetch_ktfmt", "fetch_pmd", "fetch_swiftformat", "fetch_terraform", "rules_lint_dependencies", ) rules_lint_dependencies() fetch_pmd() fetch_terraform() fetch_java_format() fetch_ktfmt() fetch_swiftformat() load("@aspect_rules_lint//lint:ruff.bzl", "fetch_ruff") fetch_ruff() load("@aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint") fetch_golangci_lint() load("@aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck") fetch_shellcheck() load("@aspect_rules_lint//lint:vale.bzl", "fetch_vale") fetch_vale() ######################## ### Optional: multitool provides defaults for some tools such as yamlfmt ### If you do not set up multitool, you will be forced to either set an explicit tool ### for languages that have a default, or set explicit False value, e.g. ### format_multirun(jsonnet = False) load("@rules_multitool//multitool:multitool.bzl", "multitool") multitool( name = "multitool", lockfile = "@aspect_rules_lint//format:multitool.lock.json", ) ``` #### What's Changed - Revert "Use multirun ([#160](https://redirect.github.com/aspect-build/rules_lint/issues/160))" bConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.