Skip to content

Commit 214d260

Browse files
committed
[bazel] Move apple_rules_lint to MODULE
1 parent 2c76a22 commit 214d260

File tree

3 files changed

+165
-114
lines changed

3 files changed

+165
-114
lines changed

MODULE.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module(name = "selenium")
22

3+
bazel_dep(name = "apple_rules_lint", version = "0.3.2")
34
bazel_dep(name = "contrib_rules_jvm", version = "0.24.0")
45
bazel_dep(name = "platforms", version = "0.0.8")
56
bazel_dep(name = "rules_dotnet", version = "0.14.0")
@@ -9,6 +10,17 @@ bazel_dep(name = "rules_python", version = "0.31.0")
910
bazel_dep(name = "rules_ruby", version = "0.8.1")
1011
bazel_dep(name = "rules_rust", version = "0.40.0")
1112

13+
linter = use_extension("@apple_rules_lint//lint:extensions.bzl", "linter")
14+
linter.configure(
15+
name = "java-spotbugs",
16+
config = "//java:spotbugs-config",
17+
)
18+
linter.configure(
19+
name = "rust-rustfmt",
20+
config = "//rust:enable-rustfmt",
21+
)
22+
linter.register(name = "rust-rustfmt")
23+
1224
dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
1325
dotnet.toolchain(dotnet_version = "7.0.400")
1426
use_repo(dotnet, "dotnet_toolchains")

0 commit comments

Comments
 (0)