Skip to content

Commit

Permalink
chore: throw on lint warnings (#1645)
Browse files Browse the repository at this point in the history
* chore: changeset

* chore: add max warnings to eslint
  • Loading branch information
danielbate authored and nedsalk committed Jan 16, 2024
1 parent aac1b71 commit a59907b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/rude-actors-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test:validate": "./scripts/tests-validate.sh",
"test:e2e": "vitest --run --config vite.node.config.mts $(scripts/tests-find.sh --e2e)",
"lint": "run-s lint:check prettier:check",
"lint:check": "eslint . --ext .ts",
"lint:check": "eslint . --ext .ts --max-warnings 0",
"lint:fix": "pnpm lint:check --fix",
"lint:md-links": "tsx ./scripts/lint-md-links",
"lint:package-jsons": "tsx ./scripts/lint-package-jsons",
Expand Down

0 comments on commit a59907b

Please sign in to comment.