Skip to content

Commit 644fc3e

Browse files
Yadav, RichenYadav, Richen
authored andcommitted
fix: add missing lint and format scripts to package.json
- Add lint script for ESLint - Add lint:fix script for auto-fixing - Add format script for Prettier - Add format:check script for CI validation Fixes GitHub Actions workflow failure
1 parent 52717b2 commit 644fc3e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
"start": "node dist/index.js",
1313
"dev": "tsc && node dist/index.js",
1414
"watch": "tsc --watch",
15-
"prepare": "husky"
15+
"prepare": "husky",
16+
"lint": "eslint \"src/**/*.ts\" --max-warnings 0",
17+
"lint:fix": "eslint \"src/**/*.ts\" --fix",
18+
"format": "prettier --write \"**/*.{ts,json,md,yml,yaml}\"",
19+
"format:check": "prettier --check \"**/*.{ts,json,md,yml,yaml}\""
1620
},
1721
"keywords": [
1822
"mcp",

0 commit comments

Comments
 (0)