Skip to content

Commit

Permalink
Ignore generated prisma client from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 committed Aug 23, 2024
1 parent 33ee3bb commit d4f0d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module.exports = {
'packages/babel-config/src/__tests__/__fixtures__/**/*',
'packages/codemods/**/__testfixtures__/**/*',
'packages/cli/**/__testfixtures__/**/*',
'packages/uploads/src/__tests__/prisma-client/*',
],
rules: {
curly: 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/uploads/src/__tests__/queryExtensions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('Query extensions', () => {
},
],
})
} catch (e) {
} catch {
expect(fs.unlink).toHaveBeenCalledTimes(4)
expect(fs.unlink).toHaveBeenNthCalledWith(1, '/one/first.txt')
expect(fs.unlink).toHaveBeenNthCalledWith(2, '/one/second.txt')
Expand Down

0 comments on commit d4f0d44

Please sign in to comment.