代码拉取完成,页面将自动刷新
{
"name": "commitlint",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"commit": "git-cz"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"husky": "^4.0.10",
"eslint": "^6.8.0",
"eslint-config-ali": "^2.0.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-react": "^7.1.0",
"babel-eslint": "^8.1.1",
"lint-staged": "^4.0.0",
"prettier": "^1.16.4",
"eslint-plugin-prettier": "^3.0.1",
"eslint-config-prettier": "^4.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-empty": [
2,
"never"
]
}
},
"lint-staged": {
"*.js": [
"eslint --fix --ext .js",
"prettier --write",
"git add"
],
"*.{vue,md,html}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。