We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ef742 commit a3e4464Copy full SHA for a3e4464
lint/eslint.bzl
@@ -62,7 +62,7 @@ _MNEMONIC = "AspectRulesLintESLint"
62
def _gather_inputs(ctx, srcs, files):
63
inputs = copy_files_to_bin_actions(ctx, srcs)
64
65
- js_inputs = ctx.attr._config_files + ctx.rule.attr.deps + files
+ js_inputs = ctx.attr._config_files + getattr(ctx.rule.attr, "deps", []) + files
66
67
# Linting of ts targets often requires the tsconfig
68
if hasattr(ctx.rule.attr, "tsconfig"):
0 commit comments