mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 15:22:19 +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
|
- name: eslint # Step to run linters
|
||||||
run: npm run eslint-ci
|
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
|
run: npm run biome-ci
|
@ -3,7 +3,7 @@ pre-commit:
|
|||||||
commands:
|
commands:
|
||||||
biome-lint:
|
biome-lint:
|
||||||
glob: "*.{js,jsx,ts,tsx}"
|
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
|
stage_fixed: true
|
||||||
skip:
|
skip:
|
||||||
- merge
|
- merge
|
||||||
@ -13,7 +13,7 @@ pre-push:
|
|||||||
commands:
|
commands:
|
||||||
biome-lint:
|
biome-lint:
|
||||||
glob: "*.{js,ts,jsx,tsx}"
|
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:
|
post-merge:
|
||||||
commands:
|
commands:
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
"typecheck": "tsc --noEmit",
|
"typecheck": "tsc --noEmit",
|
||||||
"eslint": "eslint --fix .",
|
"eslint": "eslint --fix .",
|
||||||
"eslint-ci": "eslint .",
|
"eslint-ci": "eslint .",
|
||||||
"biome": "biome check --write",
|
"biome": "biome check --write --changed --no-errors-on-unmatched",
|
||||||
"biome-ci": "biome ci --diagnostic-level=error --reporter=github",
|
"biome-ci": "biome ci --diagnostic-level=error --reporter=github --changed --no-errors-on-unmatched",
|
||||||
"docs": "typedoc",
|
"docs": "typedoc",
|
||||||
"depcruise": "depcruise src",
|
"depcruise": "depcruise src",
|
||||||
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg",
|
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg",
|
||||||
|
Loading…
Reference in New Issue
Block a user