diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-31 16:39:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-31 16:39:40 -0400 |
| commit | b8af46e0075f659f4e373e249b0f19b3cb0f62a9 (patch) | |
| tree | 9a029e81b6d7d4294b729dc5db860b015368b1ba /tests/specs/jsr/no_unused_params/__test__.jsonc | |
| parent | 01445940449cedc571dcbd69caa7da58de007f2b (diff) | |
fix(check): ignore certain diagnostics in remote modules and when publishing (#23119)
Unused locals and parameters don't make sense to surface in remote
modules. Additionally, fast check can cause these kind of diagnostics
when publishing, so they should be ignored.
Closes #22959
Diffstat (limited to 'tests/specs/jsr/no_unused_params/__test__.jsonc')
| -rw-r--r-- | tests/specs/jsr/no_unused_params/__test__.jsonc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/specs/jsr/no_unused_params/__test__.jsonc b/tests/specs/jsr/no_unused_params/__test__.jsonc new file mode 100644 index 000000000..4192ad5dd --- /dev/null +++ b/tests/specs/jsr/no_unused_params/__test__.jsonc @@ -0,0 +1,10 @@ +{ + "base": "jsr", + "steps": [{ + "args": "check --all main.ts", + "output": "main.out" + }, { + "args": "publish --dry-run", + "output": "publish.out" + }] +} |
