Skip to content

Commit c0ffc63

Browse files
committed
refact: enable no-unused-vars eslint rule
1 parent 5402e25 commit c0ffc63

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

eslint.config.mjs

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export default [
2626
{
2727
rules: {
2828
"@typescript-eslint/no-explicit-any": "off",
29-
"@typescript-eslint/no-unused-vars": "warn",
3029
},
3130
},
3231
];

test/tests/transformer/specific.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const moduleAugmentFile = ts.normalizePath(path.join(projectRoot, "src/module-au
4141

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

0 commit comments

Comments
 (0)