We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5692676 commit f43512aCopy full SHA for f43512a
lefthook.yml
@@ -2,8 +2,10 @@ pre-commit:
2
parallel: true
3
commands:
4
format:
5
+ glob: '*.{css,html,json,less,md,scss,yml}'
6
run: npx -c "cross-env NODE_OPTIONS=--max_old_space_size=4096 prettier --write --log-level error {staged_files}"
7
stage_fixed: true
8
lint:
9
+ glob: '*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}'
10
run: npx eslint {staged_files} --fix
11
0 commit comments