Skip to content

Commit

Permalink
test: remove unneeded module augmentation (#344)
Browse files Browse the repository at this point in the history
My pull request to `@types/eslint` adding this property got merged and
released years ago so we've not needed this in a while 😅
  • Loading branch information
G-Rath authored Nov 10, 2024
1 parent ec69b99 commit 0819a9c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/configs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ const requireConfig = (
...(require(config) as ESLint.Linter.Config)
});

// todo: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56545
declare module 'eslint' {
// eslint-disable-next-line @typescript-eslint/no-shadow
namespace ESLint {
interface LintResult {
fatalErrorCount: number;
}
}
}

describe('package.json', () => {
it('includes every config file', () => {
expect.hasAssertions();
Expand Down

0 comments on commit 0819a9c

Please sign in to comment.