Skip to content

Commit

Permalink
chore: replace an eslint_test with rules_lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Dec 4, 2023
1 parent d21b2fb commit 572d98d
Show file tree
Hide file tree
Showing 8 changed files with 173,817 additions and 22 deletions.
3 changes: 3 additions & 0 deletions frontend/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ query --@aspect_rules_ts//ts:skipLibCheck=always

# Required for rules_js
build --enable_runfiles

# Enable with --config=lint
build:lint --aspects=//next.js:lint.bzl%eslint --output_groups=rules_lint_report --remote_download_regex='.*aspect_rules_lint.report' --aspects_parameters=fail_on_violation=true --keep_going
2 changes: 1 addition & 1 deletion frontend/.bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.0rc1
7.0.0rc5
1 change: 1 addition & 0 deletions frontend/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"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.6.0")
bazel_dep(name = "aspect_rules_jest", version = "0.19.6")
bazel_dep(name = "aspect_rules_js", version = "1.32.2")
bazel_dep(name = "aspect_rules_swc", version = "1.0.2")
Expand Down
Loading

0 comments on commit 572d98d

Please sign in to comment.