-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: introduce husky and lint-staged
- Loading branch information
Showing
4 changed files
with
240 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm exec commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm run lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,11 @@ | |
"private": true, | ||
"packageManager": "[email protected]", | ||
"description": "Rotki's user guide and facing documentation", | ||
"keywords": ["static", "documentation", "rotki"], | ||
"keywords": [ | ||
"static", | ||
"documentation", | ||
"rotki" | ||
], | ||
"license": "AGPL-3.0", | ||
"homepage": "https://docs.rotki.com", | ||
"bugs": { | ||
|
@@ -17,7 +21,9 @@ | |
"dev": "vitepress dev", | ||
"build": "vitepress build", | ||
"preview": "vitepress preview", | ||
"lint": "eslint ." | ||
"lint": "eslint .", | ||
"lint-staged": "lint-staged", | ||
"prepare": "husky" | ||
}, | ||
"dependencies": { | ||
"@vitejs/plugin-vue": "5.0.5", | ||
|
@@ -31,9 +37,18 @@ | |
"@vue/compiler-sfc": "3.4.33", | ||
"@vue/runtime-dom": "3.4.33", | ||
"eslint": "9.7.0", | ||
"husky": "9.1.1", | ||
"lint-staged": "15.2.7", | ||
"papaparse": "5.4.1", | ||
"url": "0.11.3", | ||
"vitepress": "1.3.1", | ||
"vitepress-plugin-tabs": "0.5.0" | ||
}, | ||
"engines": { | ||
"node": ">=20 <21", | ||
"pnpm": ">=9 <10" | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts,vue,json,yml,md}": "eslint" | ||
} | ||
} |
Oops, something went wrong.