79336638

Date: 2025-01-07 16:20:31
Score: 0.5
Natty:
Report link

Something like this is what ended up working for me:

load("@npm//:eslint/package_json.bzl", eslint_bin = "bin")

eslint_bin.eslint_test(
    name = "lint",
    chdir = package_name(),
    data = glob(["src/**/*.ts", "src/**/*.tsx"]) + [".eslintrc.cjs"],
    args = ["."],
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yash