[rb] Add rubocop binary target for flexible linting
diff --git a/rb/BUILD.bazel b/rb/BUILD.bazel index 518c607..516fcb2 100644 --- a/rb/BUILD.bazel +++ b/rb/BUILD.bazel
@@ -211,6 +211,15 @@ "@bundle", ] +rb_binary( + name = "rubocop", + testonly = True, + args = _LINT_ARGS, + data = _LINT_DATA, + main = "@bundle//bin:rubocop", + deps = _LINT_DEPS, +) + rb_test( name = "lint", args = ["--autocorrect"] + _LINT_ARGS, @@ -224,15 +233,6 @@ ) rb_binary( - name = "lint-unsafe", - testonly = True, - args = ["--autocorrect-all"] + _LINT_ARGS, - data = _LINT_DATA, - main = "@bundle//bin:rubocop", - deps = _LINT_DEPS, -) - -rb_binary( name = "console", args = [ "-rselenium-webdriver",