From 5e15ab0ebb66483d5feeeac03a8b4f59d6a1019d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 2 Nov 2021 13:49:19 +1000 Subject: [PATCH] use absolute package paths in eslint.bzl --- ts/eslint.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/eslint.bzl b/ts/eslint.bzl index cefacf88a..0cbedca63 100644 --- a/ts/eslint.bzl +++ b/ts/eslint.bzl @@ -12,11 +12,11 @@ def eslint_test(name = "eslint", srcs = None, exclude = []): "--ext", ".ts", "-c", - "$(location //ts:.eslintrc.js)", + "$(location @ankidesktop//ts:.eslintrc.js)", ] + [native.package_name() + "/" + f for f in srcs], data = [ - "//ts:.eslintrc.js", - "//:package.json", + "@ankidesktop//ts:.eslintrc.js", + "@ankidesktop//:package.json", "@npm//@typescript-eslint/parser", "@npm//@typescript-eslint/eslint-plugin", "@npm//eslint-plugin-compat",