Skip to content

Commit

Permalink
refactor: enable no-unused-vars eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Aug 8, 2024
1 parent 224d862 commit 2e3b9d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default [
{
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "warn",
},
},
];
1 change: 1 addition & 0 deletions test/tests/transformer/specific.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const moduleAugmentFile = ts.normalizePath(path.join(projectRoot, "src/module-au

declare global {
namespace jest {
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- no way to extend type definitions without using the same declaration as the original types
interface Matchers<R> {
transformedMatches(expected: RegExp | string, opt?: { base?: EmittedFiles[]; kind?: ("dts" | "js")[] }): void;
}
Expand Down

0 comments on commit 2e3b9d6

Please sign in to comment.