Releases: aspect-build/rules_lint
v2.5.0
Add this to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.5.0")This repo also provides a lint task for the Aspect CLI.
Add this to your MODULE.aspect file:
# AXL dependencies; see https://github.com/aspect-extensions
axl_archive_dep(
name = "aspect_rules_lint",
urls = ["https://github.com/aspect-build/rules_lint/releases/download/v2.5.0/rules_lint-v2.5.0.tar.gz"],
integrity = "sha256-WJ48QkAh4OPb32jZqWoFj64nuVafPGxFuksE7aCRuog=",
strip_prefix = "rules_lint-2.5.0",
dev = True,
auto_use_tasks = True,
)Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.5.0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.5.0/docs/formatting.md
What's Changed
- Changes by create-pull-request action by @github-actions[bot] in #807
- fix(stylelint): Separate fix and report actions so violations are always printed by @Synss in #799
- fix: bazel 9.0.1 compat by @alexeagle in #816
- fix(ty): resolve workspace-internal import paths correctly by @mishas in #814
- feat(vale): Allow template by @TrapsterDK in #813
- feat(format): support formatting of pkl files by @rafikk in #795
- feat(starlark): Buildifier lint by @TrapsterDK in #812
- feat(lint): Add new linter and formatter for QML by @TrapsterDK in #819
- refactor: switch hermetic diff rulesets by @alexeagle in #820
- Changes by create-pull-request action by @github-actions[bot] in #821
- refactor(format): remove .jsh and .jav extensions for java by @mattnworb in #806
- chore: update filter.jq from PR 806 by @mattnworb in #825
- feat(lint): New linter pydoclint by @TrapsterDK in #818
- Changes by create-pull-request action by @github-actions[bot] in #826
- chore: update maintainers in metadata.template.json by @alexeagle in #827
New Contributors
Full Changelog: v2.4.0...v2.5.0
v2.4.0
Add this to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.4.0")This repo also provides a lint task for the Aspect CLI.
Add this to your MODULE.aspect file:
# AXL dependencies; see https://github.com/aspect-extensions
axl_archive_dep(
name = "aspect_rules_lint",
urls = ["https://github.com/aspect-build/rules_lint/releases/download/v2.4.0/rules_lint-v2.4.0.tar.gz"],
integrity = "sha256-6pufZewDP0iLSWHZ3oGm5n8uTNy+rwZ0+gqw7vLVnz0=",
strip_prefix = "rules_lint-2.4.0",
dev = True,
auto_use_tasks = True,
)Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.4.0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.4.0/docs/formatting.md
What's Changed
- fix(sarif): pass full label to sarif tool by @rafikk in #750
- Changes by create-pull-request action by @github-actions[bot] in #789
- fix(lint): Silence empty sarif reports by @TrapsterDK in #784
- fix(prettier): Make prettier less spammy when doing format_multirun by @mkanat in #767
- feat: expose --bazel_flag and --bazel_startup_flag in lint and format… by @sallustfire in #788
- fix(ty): Fix stub ty issue by @TrapsterDK in #772
- fix(buf): set error severity in SARIF output for buf lint violations by @jimmyt857 in #791
- feat(ty): Quiet on success by @TrapsterDK in #777
- Changes by create-pull-request action by @github-actions[bot] in #792
- fix: ruff color issue by @TrapsterDK in #801
- Changes by create-pull-request action by @github-actions[bot] in #793
- feat(format): add --merge_base flag and log failed git commands by @sallustfire in #798
- fix(clippy): Clippy autofix on targets that contain generated sources by @purkhusid in #790
- Changes by create-pull-request action by @github-actions[bot] in #804
- fix(ruff): ruff sarif report by @TrapsterDK in #803
- chore: minor grammar fixes to docs by @alexeagle in #805
New Contributors
- @TrapsterDK made their first contribution in #784
Full Changelog: v2.3.0...v2.4.0
v2.3.0
Add this to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.3.0")This repo also provides a lint task for the Aspect CLI.
Add this to your MODULE.aspect file:
# AXL dependencies; see https://github.com/aspect-extensions
axl_archive_dep(
name = "aspect_rules_lint",
urls = ["https://github.com/aspect-build/rules_lint/releases/download/v2.3.0/rules_lint-v2.3.0.tar.gz"],
integrity = "sha256-f3vXvl1ZNw1dqnnCri5OXVs6icreXZnm5Ku7/0Jc0iA=",
strip_prefix = "rules_lint-2.3.0",
dev = True,
auto_use_tasks = True,
)Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.3.0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.3.0/docs/formatting.md
What's Changed
- Changes by create-pull-request action by @github-actions[bot] in #768
- Changes by create-pull-request action by @github-actions[bot] in #773
- feat: Improve ty linter by @JesseTatasciore in #774
- fix: wire
base_refthrough as a task argument in format task (#781) by @sallustfire in #782 - fix: argument list too long by @Synss in #785
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Add this to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.2.0")This repo also provides a lint task for the Aspect CLI.
Add this to your MODULE.aspect file:
# AXL dependencies; see https://github.com/aspect-extensions
axl_archive_dep(
name = "aspect_rules_lint",
urls = ["https://github.com/aspect-build/rules_lint/releases/download/v2.2.0/rules_lint-v2.2.0.tar.gz"],
integrity = "sha256-MK8kW5lMyiAQr+Iwty5UmTSRPX6fBCi34Q8xQFvl1Jg=",
strip_prefix = "rules_lint-2.2.0",
dev = True,
auto_use_tasks = True,
)Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.2.0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.2.0/docs/formatting.md
What's Changed
- fix(keep-sorted): produce SARIF-formatted machine output by @rafikk in #748
- fix(axl): exclude deleted files from formatting by @rafikk in #746
- chore: remove unused example/test directory by @rafikk in #745
- Changes by create-pull-request action by @github-actions[bot] in #738
- refactor(sarif): minor clean ups in sarif tool by @rafikk in #744
- fix(ruff): suppress noisy 'All checks passed!' on success by @mkanat in #757
- feat(clippy): allow passing custom clippy flags by @alok-oai in #764
- Changes by create-pull-request action by @github-actions[bot] in #760
- fix: Mark sarif toolchain repo rule as reproducible by @mortenmj in #766
New Contributors
- @rafikk made their first contribution in #748
- @mkanat made their first contribution in #757
- @alok-oai made their first contribution in #764
Full Changelog: v2.1.0...v2.2.0
v2.1.0
Add this to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.1.0")This repo also provides a lint task for the Aspect CLI.
Add this to your MODULE.aspect file:
# AXL dependencies; see https://github.com/aspect-extensions
axl_archive_dep(
name = "aspect_rules_lint",
urls = ["https://github.com/aspect-build/rules_lint/releases/download/v2.1.0/rules_lint-v2.1.0.tar.gz"],
integrity = "sha256-qWqBKcNP3dILV0Jwoa1ovT1NkwcRGej+KC2Fld83UrM=",
strip_prefix = "rules_lint-2.1.0",
dev = True,
auto_use_tasks = True,
)Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.1.0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.1.0/docs/formatting.md
What's Changed
- fix: Include pyi for ty linting by @adam-singer in #735
- feat: enable clang-tidy to work on individual files by @gergondet-woven in #734
New Contributors
- @adam-singer made their first contribution in #735
- @gergondet-woven made their first contribution in #734
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Add this to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.0.0")This repo also provides a task for the Aspect CLI.
Add this to your MODULE.aspect file:
# AXL dependencies; see https://github.com/aspect-extensions
axl_archive_dep(
name = "aspect_rules_lint",
urls = ["https://github.com/aspect-build/rules_lint/releases/download/v2.0.0/rules_lint-v2.0.0.tar.gz"],
integrity = "sha256-iz6cRBEh1sGZqjY4wIgzqw2jZ08Nvs3gR6JqIBDEtWE=",
strip_prefix = "rules_lint-2.0.0",
dev = True,
auto_use_tasks = True,
)Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.0.0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.0.0/docs/formatting.md
What's Changed
- chore: cleanup fetch_ APIs by @alexeagle in #672
- feat: Add cue as linter by @fionera in #677
- chore: manual mirror external releases by @hunshcn in #664
- fix: fail_on_violation requires None-check for exit_code by @alexeagle in #678
- refactor: split up giant monorepo example by @alexeagle in #679
- ci: enable shell integration test by @alexeagle in #681
- fix(ci): integration test by @alexeagle in #682
- chore: test on more Bazel versions by @alexeagle in #670
- chore: perform 2.0 todos by @alexeagle in #683
- ci: bazel versions by @alexeagle in #684
- refactor: python by @alexeagle in #686
- fix: toml formatter wasn't provided for macos-aarch64 by @alexeagle in #687
- fix: Handle "no-lint" tag with clang-tidy by @Synss in #689
- fix(ty): check existence of extra search paths before passing to ty by @protocol7 in #688
- fix(ty): short-circuit non-py targets before looking at srcs by @alexeagle in #692
- chore(deps): update MODULE.aspect by @alexeagle in #685
- Bump ty version and use force-exclude by @jimmyt857 in #695
- chore: fix broken links by @alexeagle in #700
- chore(deps): force users past another bazel-lib fix by @alexeagle in #705
- Revert "chore(deps): force users past another bazel-lib fix" by @alexeagle in #706
- fix: ktlint on bazel 9, found in bazel-starters/kotlin by @alexeagle in #709
- feat: Add bandit linter by @Synss in #704
- chore: Update reference link in config.yaml by @b3cramer in #696
- feat: Improve support of hermetic toolchains with clang tidy by @Synss in #597
- fix: typo
b{r,}anditby @Synss in #716 - chore: update install instructions for Aspect CLI by @alexeagle in #718
- fix: bump protobuf to 33.4 since Bazel 9 will do that anyway by @alexeagle in #721
- fix(clippy): Store exit code to respect errors by @blorente in #707
- fix(clippy): declare outputs as siblings of crate_info.output (#719) by @sallustfire in #720
- feat(clippy): Add SARIF conversion support by @blorente in #708
- Fixing the hanging issue. by @thesayyn in #712
- feat(clippy): Add support for
--fixby @blorente in #715 - fix: USE_BAZEL_VERSION environment variable for tests by @alexeagle in #729
- fix(clippy): Enable clippy to work transitively by @blorente in #731
- feat: AXL dependency instructions in release_prep.sh by @alexeagle in #694
- fix(clippy): Handle nested updates in fixer by @blorente in #732
- feat: Add notes to results for shellcheck by @AtoZdevelopment in #730
- fix: add rust_shared_library to DEFAULT_RULE_KINDS by @alexeagle in #733
New Contributors
- @fionera made their first contribution in #677
- @protocol7 made their first contribution in #688
- @jimmyt857 made their first contribution in #695
- @thesayyn made their first contribution in #712
- @AtoZdevelopment made their first contribution in #730
Full Changelog: v1.13.0...v2.0.0
v2.0.0-rc1
Add this to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.0.0-rc1")This repo also provides a task for the Aspect CLI.
Add this to your file:
# AXL dependencies; see https://github.com/aspect-extensions
axl_archive_dep(
name = "aspect_rules_lint",
urls = ["https://github.com/aspect-build/rules_lint/releases/download/vv2.0.0-rc1/rules_lint-vv2.0.0-rc1.tar.gz"],
integrity = sha256-oK830SYeQmCWkTPTpgiP2yM/TPIgiXJ8nm8BsWnpYSg=,
strip_prefix = "rules_lint-v2.0.0-rc1",
dev = True,
auto_use_tasks = True,
)Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-rc1/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-rc1/docs/formatting.md
What's Changed
- fix: typo
b{r,}anditby @Synss in #716 - chore: update install instructions for Aspect CLI by @alexeagle in #718
- fix: bump protobuf to 33.4 since Bazel 9 will do that anyway by @alexeagle in #721
- fix(clippy): Store exit code to respect errors by @blorente in #707
- fix(clippy): declare outputs as siblings of crate_info.output (#719) by @sallustfire in #720
- feat(clippy): Add SARIF conversion support by @blorente in #708
- Fixing the hanging issue. by @thesayyn in #712
- feat(clippy): Add support for
--fixby @blorente in #715 - fix: USE_BAZEL_VERSION environment variable for tests by @alexeagle in #729
- fix(clippy): Enable clippy to work transitively by @blorente in #731
- feat: AXL dependency instructions in release_prep.sh by @alexeagle in #694
New Contributors
Full Changelog: v2.0.0-rc0...v2.0.0-rc1
v2.0.0-rc0
Add the to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.0.0-rc0")Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-rc0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-rc0/docs/formatting.md
What's Changed
- Bump ty version and use force-exclude by @jimmyt857 in #695
- chore: fix broken links by @alexeagle in #700
- chore(deps): force users past another bazel-lib fix by @alexeagle in #705
- Revert "chore(deps): force users past another bazel-lib fix" by @alexeagle in #706
- fix: ktlint on bazel 9, found in bazel-starters/kotlin by @alexeagle in #709
- feat: Add bandit linter by @Synss in #704
- chore: Update reference link in config.yaml by @b3cramer in #696
- feat: Improve support of hermetic toolchains with clang tidy by @Synss in #597
New Contributors
- @jimmyt857 made their first contribution in #695
Full Changelog: v2.0.0-beta.1...v2.0.0-rc0
v2.0.0-beta.1
Add the to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.0.0-beta.1")Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-beta.1/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-beta.1/docs/formatting.md
What's Changed
- refactor: python by @alexeagle in #686
- fix: toml formatter wasn't provided for macos-aarch64 by @alexeagle in #687
- fix: Handle "no-lint" tag with clang-tidy by @Synss in #689
- fix(ty): check existence of extra search paths before passing to ty by @protocol7 in #688
- fix(ty): short-circuit non-py targets before looking at srcs by @alexeagle in #692
- chore(deps): update MODULE.aspect by @alexeagle in #685
New Contributors
- @protocol7 made their first contribution in #688
Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1
v2.0.0-beta.0
Add the to your file:
bazel_dep(name = "aspect_rules_lint", version = "2.0.0-beta.0")Then, follow the install instructions for
- linting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-beta.0/docs/linting.md
- formatting: https://github.com/aspect-build/rules_lint/blob/v2.0.0-beta.0/docs/formatting.md
What's Changed
- chore: cleanup fetch_ APIs by @alexeagle in #672
- feat: Add cue as linter by @fionera in #677
- chore: manual mirror external releases by @hunshcn in #664
- fix: fail_on_violation requires None-check for exit_code by @alexeagle in #678
- refactor: split up giant monorepo example by @alexeagle in #679
- ci: enable shell integration test by @alexeagle in #681
- fix(ci): integration test by @alexeagle in #682
- chore: test on more Bazel versions by @alexeagle in #670
- chore: perform 2.0 todos by @alexeagle in #683
- ci: bazel versions by @alexeagle in #684
New Contributors
Full Changelog: v1.13.0...v2.0.0-beta.0