Skip to content

Commit 69d2dde

Browse files
committed
chore: update eslint config
1 parent 9ab5edc commit 69d2dde

3 files changed

Lines changed: 1178 additions & 130 deletions

File tree

eslint.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
import vnphanquang from '@vnphanquang/eslint-config';
1+
import { fileURLToPath } from 'node:url';
22

3-
export default vnphanquang;
3+
import { defineConfig } from '@vnphanquang/eslint-config';
4+
5+
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
6+
7+
export default defineConfig({ gitignorePath });

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@types/node": "^22.10.2",
6464
"@vitest/coverage-istanbul": "2.1.8",
6565
"@vitest/ui": "^2.1.8",
66-
"@vnphanquang/eslint-config": "^3.0.1",
66+
"@vnphanquang/eslint-config": "^4.0.2",
6767
"eslint": "^9.17.0",
6868
"postcss": "^8.4.49",
6969
"prettier": "^3.4.2",

0 commit comments

Comments
 (0)