Skip to content

Commit

Permalink
chore: update Aspect rules (#413)
Browse files Browse the repository at this point in the history
In particular, bazel-lib to 2.x
  • Loading branch information
alexeagle authored Mar 29, 2024
1 parent eee0c4e commit 64d7e89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions frontend/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"Bazel module dependencies, see https://bazel.build/external/overview#bzlmod"

bazel_dep(name = "aspect_bazel_lib", version = "1.33.0")
bazel_dep(name = "aspect_rules_lint", version = "0.12.0")
bazel_dep(name = "aspect_rules_jest", version = "0.19.6")
bazel_dep(name = "aspect_bazel_lib", version = "2.5.0")
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")
bazel_dep(name = "aspect_rules_ts", version = "2.2.0")
bazel_dep(name = "aspect_rules_rollup", version = "1.0.0")
bazel_dep(name = "aspect_rules_webpack", version = "0.13.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "aspect_rules_webpack", version = "0.14.0")
bazel_dep(name = "bazel_skylib", version = "1.5.0")

pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm", dev_dependency = True)
use_repo(pnpm, "pnpm")
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 64d7e89

Please sign in to comment.