Skip to content

Commit c3f1a6c

Browse files
committed
fix: update lint config to ignore generated files
1 parent 64b2f26 commit c3f1a6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/db/eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import baseConfig from '@acme/eslint-config/base'
22

33
/** @type {import('typescript-eslint').Config} */
44
export default [
5+
{
6+
ignores: ['src/generated/**', 'dist/**'],
7+
},
58
{
69
// NOTE: we should ban accesses on the `transaction` property for kysely
710
// because this doesn't work well with the plugin
@@ -15,7 +18,6 @@ export default [
1518
},
1619
],
1720
},
18-
ignores: ['dist/**', 'src/generated/**'],
1921
},
2022
...baseConfig,
2123
]

0 commit comments

Comments
 (0)