Skip to content

Commit 6dd5b21

Browse files
authored
Lint project with publint (#193)
* Add publint to devDependencies * Add lint-publint script Create new composite lint script
1 parent bfef365 commit 6dd5b21

File tree

2 files changed

+158
-1
lines changed

2 files changed

+158
-1
lines changed

package-lock.json

+154
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
"scripts": {
2828
"check": "tsc",
2929
"format": "biome format . --write",
30-
"lint": "biome lint .",
30+
"lint-biome": "biome lint .",
31+
"lint-publint": "publint",
32+
"lint": "npm run lint-biome && npm run lint-publint",
3133
"test": "jest"
3234
},
3335
"optionalDependencies": {
@@ -40,6 +42,7 @@
4042
"cross-fetch": "^3.1.5",
4143
"jest": "^29.6.2",
4244
"nock": "^13.3.0",
45+
"publint": "^0.2.7",
4346
"ts-jest": "^29.1.0",
4447
"typescript": "^5.0.2"
4548
}

0 commit comments

Comments
 (0)