test hook
This commit is contained in:
parent
a1018cf51c
commit
6ad8254a2c
1 changed files with 2 additions and 4 deletions
|
|
@ -2,9 +2,7 @@ pre-commit:
|
||||||
commands:
|
commands:
|
||||||
eslint:
|
eslint:
|
||||||
glob: 'src/**/*.{js,svelte}'
|
glob: 'src/**/*.{js,svelte}'
|
||||||
run: npx eslint --cache --fix {staged_files}
|
run: npx eslint --cache --fix {staged_files} && git add .
|
||||||
prettier:
|
prettier:
|
||||||
glob: 'src/**/*.{js,scss,md,svelte}'
|
glob: 'src/**/*.{js,scss,md,svelte}'
|
||||||
run: npx prettier --write {staged_files}
|
run: npx prettier --write {staged_files} && git add .
|
||||||
addChanged:
|
|
||||||
run: git add .
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue