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",
|
||||
".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 a new issue