mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
use absolute package paths in eslint.bzl
This commit is contained in:
parent
c988116da5
commit
5e15ab0ebb
1 changed files with 3 additions and 3 deletions
|
@ -12,11 +12,11 @@ def eslint_test(name = "eslint", srcs = None, exclude = []):
|
||||||
"--ext",
|
"--ext",
|
||||||
".ts",
|
".ts",
|
||||||
"-c",
|
"-c",
|
||||||
"$(location //ts:.eslintrc.js)",
|
"$(location @ankidesktop//ts:.eslintrc.js)",
|
||||||
] + [native.package_name() + "/" + f for f in srcs],
|
] + [native.package_name() + "/" + f for f in srcs],
|
||||||
data = [
|
data = [
|
||||||
"//ts:.eslintrc.js",
|
"@ankidesktop//ts:.eslintrc.js",
|
||||||
"//:package.json",
|
"@ankidesktop//:package.json",
|
||||||
"@npm//@typescript-eslint/parser",
|
"@npm//@typescript-eslint/parser",
|
||||||
"@npm//@typescript-eslint/eslint-plugin",
|
"@npm//@typescript-eslint/eslint-plugin",
|
||||||
"@npm//eslint-plugin-compat",
|
"@npm//eslint-plugin-compat",
|
||||||
|
|
Loading…
Reference in a new issue