Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
erikengervall committed Oct 23, 2023
1 parent 2fc7c63 commit 539a19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src-node/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ describe('fastFindInFiles', () => {
{ options: { directory: './fixtures', needle: 'valid', excludeFolderPaths: [''] } },
{ options: { directory: './fixtures', needle: 'valid', excludeFolderPaths: ['some/path/'] } },
])('throws for invalid options: "%o"', ({ options }) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore - testing invalid input
expect(() => fastFindInFiles(options)).toThrowErrorMatchingSnapshot()
expect(() => fastFindInFiles(options as any)).toThrowErrorMatchingSnapshot()
})
})
2 changes: 1 addition & 1 deletion src-node/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import binding from '../build/Release/binding.node'

Expand Down

0 comments on commit 539a19b

Please sign in to comment.