Skip to content

Commit 7623ba8

Browse files
authored
refactor: Replace pretty-quick with Prettier 3.0 (#601)
1 parent 04f50be commit 7623ba8

File tree

3 files changed

+15
-370
lines changed

3 files changed

+15
-370
lines changed

lefthook.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
pre-commit:
2-
parallel: false
2+
parallel: true
33
commands:
4-
1_prettier:
5-
run: npx pretty-quick --staged --ignore-path .gitignore
6-
2_eslint:
4+
format:
5+
glob: '*.{css,html,json,less,md,scss,yml}'
6+
run: npx prettier --write --log-level error {staged_files}
7+
lint:
78
glob: '*.{js,jsx,ts,tsx}'
89
run: npx eslint {staged_files} --fix

0 commit comments

Comments
 (0)