Add prettier/eslint/commitlint config and wire up lint-checks CI
This commit is contained in:
parent
63ebb472ad
commit
6dd9c6e6ee
8 changed files with 2606 additions and 3 deletions
11
package.json
11
package.json
|
|
@ -8,13 +8,20 @@
|
|||
"build": "tsc",
|
||||
"start": "node dist/index.js",
|
||||
"test": "npm run build && node --test dist/index.test.js",
|
||||
"lint": "tsc --noEmit"
|
||||
"lint": "eslint . && tsc --noEmit",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check ."
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.6.0",
|
||||
"@types/node": "^22.0.0"
|
||||
"@types/node": "^22.0.0",
|
||||
"eslint": "^9.13.0",
|
||||
"typescript-eslint": "^8.15.0",
|
||||
"prettier": "^3.3.3",
|
||||
"@commitlint/cli": "^19.5.0",
|
||||
"@commitlint/config-conventional": "^19.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue