Skip to content

Commit

Permalink
chore: account for rules_lint breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Mar 29, 2024
1 parent 4e81999 commit 5e8dc72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
8 changes: 4 additions & 4 deletions frontend/lint.bzl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"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",
"@@//next.js:eslintrc",
],
)

eslint_test = make_lint_test(aspect = eslint)
eslint_test = lint_test(aspect = eslint)

0 comments on commit 5e8dc72

Please sign in to comment.