Skip to content

Commit c469611

Browse files
committed
fix: eslint ignore build dir
1 parent 4666974 commit c469611

File tree

3 files changed

+33
-7
lines changed

3 files changed

+33
-7
lines changed

eslint.config.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
import configPrisma from 'eslint-config-prisma'
22
import tsEslint from 'typescript-eslint'
33

4-
export default tsEslint.config(...configPrisma, {
5-
ignores: [`build`, 'eslint.config.js'],
4+
export default tsEslint.config({
5+
extends: [...configPrisma],
6+
ignores: ['**/build/**/*', 'eslint.config.js'],
7+
languageOptions: {
8+
parserOptions: {
9+
project: true,
10+
tsconfigRootDir: import.meta.dirname,
11+
},
12+
},
613
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@typescript-eslint/parser": "7.6.0",
5454
"dripip": "0.10.0",
5555
"eslint": "9.0.0",
56-
"eslint-config-prisma": "0.5.2",
56+
"eslint-config-prisma": "0.6.0",
5757
"eslint-plugin-deprecation": "2.0.0",
5858
"eslint-plugin-only-warn": "1.1.0",
5959
"eslint-plugin-prefer-arrow": "1.2.3",

pnpm-lock.yaml

Lines changed: 23 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)