Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions docs/rules.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions ts/private/ts_lib.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ https://docs.aspect.build/rulesets/aspect_rules_js/docs/js_library#deps for more
mandatory = True,
allow_single_file = [".json"],
),
"eslintconfig": attr.label(
doc = """.eslintrc file, or other filenames accepted by ESLint.
see https://eslint.org/docs/latest/use/configure/configuration-files
Note, this is unused in rules_ts, but exists to allow the information to propagate through the dependency graph.
For example, it can be used by the eslint aspect in Aspect's rules_lint.
""",
allow_single_file = True,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note, it should be possible to pass a js_library target here, so that an eslint config can bring any dependencies it requires

),
"isolated_typecheck": attr.bool(
doc = """\
Whether type-checking should be a separate action.
Expand Down