Skip to content

Commit 1f4800d

Browse files
committed
chore: add eslint support
1 parent dcc357b commit 1f4800d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import eslintGlobalConfig from "../../eslint.config.mjs";
2+
3+
export default [...eslintGlobalConfig];

packages/plugin-gitbook/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"scripts": {
2121
"build": "tsup --format esm --dts",
2222
"dev": "tsup --format esm --dts --watch",
23-
"test": "vitest"
23+
"test": "vitest",
24+
"lint": "eslint --fix --cache ."
2425
}
2526
}

0 commit comments

Comments
 (0)