Skip to content

Commit

Permalink
chore(neverAccessedVariables): ESLint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
byakuren-hijiri committed Jul 23, 2024
1 parent 9d032c4 commit 7723059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detectors/builtin/neverAccessedVariables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class NeverAccessedVariables extends Detector {
([name, _ref]) => !usedConstants.has(name),
),
),
).map(([name, ref]) =>
).map(([_name, ref]) =>
createError("Constant is never used", Severity.MEDIUM, ref, {
docURL: makeDocURL(this.id),
suggestion: "Consider removing the constant",
Expand Down

0 comments on commit 7723059

Please sign in to comment.