use absolute package paths in eslint.bzl
This commit is contained in:
parent
c988116da5
commit
5e15ab0ebb
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user