Skip to content

Commit

Permalink
Lint project with publint (#193)
Browse files Browse the repository at this point in the history
* Add publint to devDependencies

* Add lint-publint script

Create new composite lint script
  • Loading branch information
mattt committed Jan 18, 2024
1 parent bfef365 commit 6dd5b21
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 1 deletion.
154 changes: 154 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"scripts": {
"check": "tsc",
"format": "biome format . --write",
"lint": "biome lint .",
"lint-biome": "biome lint .",

This comment has been minimized.

Copy link
@paarveskhane

paarveskhane Jan 28, 2024

vwy„

"lint-publint": "publint",

This comment has been minimized.

Copy link
@paarveskhane

paarveskhane Jan 28, 2024

hi

"lint": "npm run lint-biome && npm run lint-publint",
"test": "jest"
},
"optionalDependencies": {
Expand All @@ -40,6 +42,7 @@
"cross-fetch": "^3.1.5",
"jest": "^29.6.2",
"nock": "^13.3.0",
"publint": "^0.2.7",
"ts-jest": "^29.1.0",
"typescript": "^5.0.2"
}
Expand Down

0 comments on commit 6dd5b21

Please sign in to comment.