Skip to content

Commit

Permalink
feat(f2elint): update husky 9
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyunhe committed Jul 27, 2024
1 parent 2ccabe1 commit a6daa1f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deploy": "gh-pages -d build",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"prepare": "husky install",
"prepare": "husky",
"start": "rive start",
"test": "rive test"
},
Expand Down Expand Up @@ -45,7 +45,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"gh-pages": "^6.1.1",
"husky": "^8.0.3",
"husky": "^9.1.3",
"lint-staged": "^15.2.2",
"markdownlint": "~0.33.0",
"prettier": "^3.2.5",
Expand Down
4 changes: 4 additions & 0 deletions packages/f2elint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新日志

## 4.8.0 - 2024-07-27

- 升级 Husky 9

## 4.7.0 - 2024-04-18

- 自动更新依赖版本
Expand Down
5 changes: 3 additions & 2 deletions packages/f2elint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "f2elint",
"version": "4.7.1",
"version": "4.8.0",
"description": "Linter for Alibaba F2E Guidelines",
"keywords": [
"f2elint",
Expand Down Expand Up @@ -57,7 +57,8 @@
"start": "rive start",
"test": "rive test",
"test:ui": "rive test --ui",
"test:watch": "rive test --watch"
"test:watch": "rive test --watch",
"prepare": "husky"
},
"prettier": "prettier-config-ali",
"eslintConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/f2elint/templates/commitlint/package.merge.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"scripts": {
"prepare": "husky install"
"prepare": "husky"
},
"commitlint": {
"extends": ["ali"]
},
"devDependencies": {
"husky": "^8.0.0",
"husky": "^9.1.3",
"@commitlint/cli": "^19.2.1",
"commitlint-config-ali": "^1.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/f2elint/templates/lint-staged/package.merge.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"prepare": "husky install"
"prepare": "husky"
},
"lint-staged": {
"*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}": "eslint --fix",
Expand All @@ -12,7 +12,7 @@
<% } %>
},
"devDependencies": {
"husky": "^8.0.0",
"husky": "^9.1.3",
"lint-staged": "^15.2.2"
}
}

0 comments on commit a6daa1f

Please sign in to comment.