Skip to content

Commit 7ce4c67

Browse files
committed
git commit -m "feat!: modernize tooling and update dependencies
- Update Node.js requirement to >=22 and npm >=10 - Migrate from eslint-config-airbnb-base to @antfu/eslint-config - Fix inquirer v13 compatibility (type: 'list' → 'select') - Replace deep-keys package with local utility - Remove unused dotenv dependency - Update pre-commit hook to use lint-staged BREAKING CHANGE: Minimum Node.js version is now 22"
1 parent 2e75f5f commit 7ce4c67

8 files changed

Lines changed: 7447 additions & 5761 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@
1414

1515
# Claude AI context file
1616
**/CLAUDE.md
17+
18+
# VSCode
19+
.vscode
20+
21+
# Zed
22+
.zed

.husky/pre-commit

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx --no-install pretty-quick --staged
1+
npx --no-install lint-staged

eslint.config.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import antfu from '@antfu/eslint-config';
2+
3+
export default antfu({
4+
// Node.js project - no browser/framework stuff needed
5+
vue: false,
6+
react: false,
7+
typescript: false,
8+
9+
// Style preferences
10+
stylistic: {
11+
indent: 2,
12+
quotes: 'single',
13+
semi: true,
14+
},
15+
16+
// Ignore patterns
17+
ignores: [
18+
'node_modules',
19+
'dist',
20+
'coverage',
21+
],
22+
23+
// Rule overrides
24+
rules: {
25+
'no-console': 'off', // CLI tool - console output is expected
26+
'node/prefer-global/process': 'off', // process is always available in Node.js
27+
},
28+
});

0 commit comments

Comments
 (0)