Conversation
benchmark.find_last_index.length.js carried a file-level eslint-disable for stdlib/jsdoc-typedef-typos with no @typedef or @type JSDoc annotations in the file for that rule to check, so reportUnusedDisableDirectives flagged it. No sibling benchmark file in the same directory (copy_within, at, fill, ...) has the directive, confirming it's a stray leftover, not a live suppression. Removed it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #15176.
Description
This pull request:
lib/node_modules/@stdlib/array/float16/benchmark/polyfill/benchmark.find_last_index.length.jscarries a file-level/* eslint-disable stdlib/jsdoc-typedef-typos */directive, but the file has no@typedefor@typeJSDoc annotations at all for that rule to check, so ESLint'sreportUnusedDisableDirectivesflags it as unused.copy_within,at,fill, …) has no such directive, confirming this one was left over from an earlier refactor rather than a live suppression.Related Issues
This pull request has the following related issues:
Questions
No.
Other
No.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written by Claude Code. It located the flagged line from the CI log in #15176, confirmed the directive was dead by checking for
@typedef/@typeusage in the file and comparing against sibling benchmark files in the same directory, and removed it.@stdlib-js/reviewers