mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 07:12:32 +02:00
Add --no-errors-on-unmatched to biome ci
This commit is contained in:
parent
41f6d0ce88
commit
bba3599033
2
.github/workflows/quality.yml
vendored
2
.github/workflows/quality.yml
vendored
@ -36,5 +36,5 @@ jobs:
|
||||
- name: eslint # Step to run linters
|
||||
run: npm run eslint-ci
|
||||
|
||||
- name: Lint with Biome # Step to run linters and auto-format the code
|
||||
- name: Lint with Biome # Step to run linters
|
||||
run: npm run biome-ci
|
@ -3,7 +3,7 @@ pre-commit:
|
||||
commands:
|
||||
biome-lint:
|
||||
glob: "*.{js,jsx,ts,tsx}"
|
||||
run: npx @biomejs/biome check --write --reporter=summary
|
||||
run: npx @biomejs/biome check --write --reporter=summary {staged_files} --no-errors-on-unmatched
|
||||
stage_fixed: true
|
||||
skip:
|
||||
- merge
|
||||
@ -13,7 +13,7 @@ pre-push:
|
||||
commands:
|
||||
biome-lint:
|
||||
glob: "*.{js,ts,jsx,tsx}"
|
||||
run: npx @biomejs/biome check --write --reporter=summary
|
||||
run: npx @biomejs/biome check --write --reporter=summary {push_files} --no-errors-on-unmatched
|
||||
|
||||
post-merge:
|
||||
commands:
|
||||
|
@ -16,8 +16,8 @@
|
||||
"typecheck": "tsc --noEmit",
|
||||
"eslint": "eslint --fix .",
|
||||
"eslint-ci": "eslint .",
|
||||
"biome": "biome check --write",
|
||||
"biome-ci": "biome ci --diagnostic-level=error --reporter=github",
|
||||
"biome": "biome check --write --changed --no-errors-on-unmatched",
|
||||
"biome-ci": "biome ci --diagnostic-level=error --reporter=github --changed --no-errors-on-unmatched",
|
||||
"docs": "typedoc",
|
||||
"depcruise": "depcruise src",
|
||||
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg",
|
||||
|
Loading…
Reference in New Issue
Block a user