Skip to content

Releases: aspect-build/rules_lint

v2.5.0

03 Apr 15:23
7f5866c

Choose a tag to compare

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

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

18 Mar 15:36
8927dff

Choose a tag to compare

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

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

Full Changelog: v2.3.0...v2.4.0

v2.3.0

03 Mar 15:24
6beafa0

Choose a tag to compare

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

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_ref through 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

18 Feb 15:26
6d5214f

Choose a tag to compare

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

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

Full Changelog: v2.1.0...v2.2.0

v2.1.0

06 Feb 18:42
35ee869

Choose a tag to compare

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

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0

26 Jan 18:20
b9d53b0

Choose a tag to compare

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

What's Changed

New Contributors

Full Changelog: v1.13.0...v2.0.0

v2.0.0-rc1

23 Jan 22:44
00fa8e2

Choose a tag to compare

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

What's Changed

New Contributors

Full Changelog: v2.0.0-rc0...v2.0.0-rc1

v2.0.0-rc0

12 Jan 23:08
d402d73

Choose a tag to compare

Add the to your file:

bazel_dep(name = "aspect_rules_lint", version = "2.0.0-rc0")

Then, follow the install instructions for

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

Full Changelog: v2.0.0-beta.1...v2.0.0-rc0

v2.0.0-beta.1

01 Jan 07:56
e0ea949

Choose a tag to compare

Add the to your file:

bazel_dep(name = "aspect_rules_lint", version = "2.0.0-beta.1")

Then, follow the install instructions for

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

Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1

v2.0.0-beta.0

23 Dec 04:21
6847809

Choose a tag to compare

Add the to your file:

bazel_dep(name = "aspect_rules_lint", version = "2.0.0-beta.0")

Then, follow the install instructions for

What's Changed

New Contributors

Full Changelog: v1.13.0...v2.0.0-beta.0