From 5e8dc7204337fb19905fce924a650e829a48b6af Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 28 Mar 2024 22:11:08 -0700 Subject: [PATCH] chore: account for rules_lint breaking changes --- frontend/MODULE.bazel | 2 +- frontend/lint.bzl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/MODULE.bazel b/frontend/MODULE.bazel index c86755c9e..619586de9 100644 --- a/frontend/MODULE.bazel +++ b/frontend/MODULE.bazel @@ -1,7 +1,7 @@ "Bazel module dependencies, see https://bazel.build/external/overview#bzlmod" bazel_dep(name = "aspect_bazel_lib", version = "2.5.0") -bazel_dep(name = "aspect_rules_lint", version = "0.14.2") +bazel_dep(name = "aspect_rules_lint", version = "0.15.0") bazel_dep(name = "aspect_rules_jest", version = "0.20.0") bazel_dep(name = "aspect_rules_js", version = "1.38.0") bazel_dep(name = "aspect_rules_swc", version = "1.1.0") diff --git a/frontend/lint.bzl b/frontend/lint.bzl index 641219c21..ae13cdd99 100644 --- a/frontend/lint.bzl +++ b/frontend/lint.bzl @@ -1,9 +1,9 @@ "Define linters as aspects" -load("@aspect_rules_lint//lint:eslint.bzl", "eslint_aspect") -load("@aspect_rules_lint//lint:lint_test.bzl", "make_lint_test") +load("@aspect_rules_lint//lint:eslint.bzl", "lint_eslint_aspect") +load("@aspect_rules_lint//lint:lint_test.bzl", "lint_test") -eslint = eslint_aspect( +eslint = lint_eslint_aspect( binary = "@@//:eslint", configs = [ "@@//react:package_json", @@ -11,4 +11,4 @@ eslint = eslint_aspect( ], ) -eslint_test = make_lint_test(aspect = eslint) +eslint_test = lint_test(aspect = eslint)