Skip to content

Commit fcdc767

Browse files
chore: replace eslint with pickier
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent eff7f88 commit fcdc767

2 files changed

Lines changed: 14 additions & 22 deletions

File tree

eslint.config.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
"scripts": {
1818
"dev": "node-modules-inspector",
1919
"build": "node-modules-inspector build",
20-
"lint": "eslint .",
20+
"lint": "bunx --bun pickier .",
2121
"release": "bumpp && pnpm publish",
22-
"prepare": "simple-git-hooks"
22+
"lint:fix": "bunx --bun pickier . --fix",
23+
"format": "bunx --bun pickier . --format",
24+
"format:fix": "bunx --bun pickier . --format --write",
25+
"postinstall": "bunx git-hooks"
2326
},
2427
"dependencies": {
2528
"@stacksjs/actions": "catalog:core",
@@ -53,7 +56,6 @@
5356
"@stacksjs/enums": "catalog:core",
5457
"@stacksjs/env": "catalog:core",
5558
"@stacksjs/error-handling": "catalog:core",
56-
"@stacksjs/eslint-config": "catalog:eslint",
5759
"@stacksjs/events": "catalog:core",
5860
"@stacksjs/faker": "catalog:core",
5961
"@stacksjs/git": "catalog:core",
@@ -114,18 +116,18 @@
114116
},
115117
"devDependencies": {
116118
"@types/node": "catalog:unrelated",
117-
"eslint": "catalog:unrelated",
118-
"lint-staged": "catalog:unrelated",
119119
"netlify-plugin-cache": "catalog:unrelated",
120120
"node-modules-inspector": "catalog:unrelated",
121121
"pnpm": "catalog:unrelated",
122-
"simple-git-hooks": "catalog:unrelated",
123-
"typescript": "catalog:unrelated"
122+
"typescript": "catalog:unrelated",
123+
"bun-git-hooks": "^0.3.1"
124124
},
125-
"simple-git-hooks": {
126-
"pre-commit": "pnpm lint-staged"
127-
},
128-
"lint-staged": {
129-
"*": "eslint --fix"
125+
"git-hooks": {
126+
"pre-commit": {
127+
"staged-lint": {
128+
"*.{js,ts,json,yaml,yml,md}": "bunx --bun pickier lint --fix"
129+
}
130+
},
131+
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
130132
}
131133
}

0 commit comments

Comments
 (0)