Managing Unused Function Parameters in ESLint with argsIgnorePattern
Learn how to configure ESLint's no-unused-vars rule with argsIgnorePattern to ignore underscore-prefixed parameters without weakening the rest of your linting.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to configure ESLint's no-unused-vars rule with argsIgnorePattern to ignore underscore-prefixed parameters without weakening the rest of your linting.
Goal Determine the appropriate default behavior for the newly documented ignoreTypeReferences option in ESLint v9’s no-unused-vars rule, especially in TypeScript codebases. Constraints & Uncertainty The option’s implementation depends on @typescript-eslint/parser ; without it, the rule may error or misbehave. Enabling ignoreTypeReferences could mask legi