Skip to content

Commit

Permalink
Treat TS lint warnings as error
Browse files Browse the repository at this point in the history
There is currently no warning and we want to keep it that way.
The warning currently have to be spotted by reviewers, leading
to longer merge time.

untracked
  • Loading branch information
krocard committed Dec 7, 2023
1 parent fef1113 commit e137689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{ts,tsx}\"",
"lint": "eslint --max-warnings=0 -- \"**/*.{ts,tsx}\"",
"format": "prettier --write .",
"build": "tsup ./src/index.ts --dts --target es2020 --format cjs,esm -d lib",
"example": "yarn --cwd example",
Expand Down

0 comments on commit e137689

Please sign in to comment.