We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b569e61 commit 691cad5Copy full SHA for 691cad5
2 files changed
.husky/pre-commit
@@ -1 +1 @@
1
-npx lint-staged
+ npx lint-staged
src/configs.ts
@@ -87,11 +87,11 @@ export default tseslint.config(
87
},
88
husky: {
89
deps: ['husky', 'lint-staged'],
90
- scripts: { prepare: 'husky install' },
+ scripts: { prepare: 'echo "Husky is managed automatically"' },
91
lintStaged: {
92
'*.ts': ['eslint --fix', 'prettier --write'],
93
'*.json': ['prettier --write'],
94
95
- preCommitHook: `#!/bin/sh\n. $(dirname "$0")/_/husky.sh\nnpx lint-staged\n`,
+ preCommitHook: 'npx lint-staged\n',
96
97
} as const;
0 commit comments