|
@@ -50,10 +50,10 @@ pre-commit:
|
|
|
run: pnpm oxfmt {staged_files}
|
|
run: pnpm oxfmt {staged_files}
|
|
|
glob: '*.md'
|
|
glob: '*.md'
|
|
|
lint-vue:
|
|
lint-vue:
|
|
|
- run: pnpm oxfmt {staged_files} && pnpm oxlint --fix {staged_files} && pnpm eslint --cache --fix {staged_files} && pnpm stylelint --fix --allow-empty-input {staged_files}
|
|
|
|
|
|
|
+ run: pnpm oxfmt {staged_files} && pnpm oxlint --fix --no-error-on-unmatched-pattern {staged_files} && pnpm eslint --cache --fix {staged_files} && pnpm stylelint --fix --allow-empty-input {staged_files}
|
|
|
glob: '*.vue'
|
|
glob: '*.vue'
|
|
|
lint-js:
|
|
lint-js:
|
|
|
- run: pnpm oxfmt {staged_files} && pnpm oxlint --fix {staged_files} && pnpm eslint --cache --fix {staged_files}
|
|
|
|
|
|
|
+ run: pnpm oxfmt {staged_files} && pnpm oxlint --fix --no-error-on-unmatched-pattern {staged_files} && pnpm eslint --cache --fix {staged_files}
|
|
|
glob: '*.{js,jsx,ts,tsx}'
|
|
glob: '*.{js,jsx,ts,tsx}'
|
|
|
lint-style:
|
|
lint-style:
|
|
|
run: pnpm oxfmt {staged_files} && pnpm stylelint --fix --allow-empty-input {staged_files}
|
|
run: pnpm oxfmt {staged_files} && pnpm stylelint --fix --allow-empty-input {staged_files}
|