diff --git a/package.json b/package.json index 95e0837588..93cd288175 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,6 @@ "url": "https://github.com/watson-developer-cloud/node-sdk/issues" }, "devDependencies": { - "@commitlint/cli": "^8.2.0", - "@commitlint/config-conventional": "^8.2.0", "@semantic-release/changelog": "^5.0.1", "@semantic-release/git": "^9.0.0", "axios": "^0.21.4", @@ -64,7 +62,6 @@ "eslint-config-prettier": "^6.15.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.3.1", - "husky": "^4.3.7", "installed-check": "^3.0.0", "jest": "^28.1.3", "jsdoc": "^3.6.6", @@ -119,87 +116,10 @@ "snyk-protect": "snyk protect", "prettier": "prettier --write \"{src,test}/**/*.js\"" }, - "husky": { - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } - }, "jest": { "collectCoverage": true, "coverageDirectory": "./coverage/", "testEnvironment": "node" }, - "commitlint": { - "rules": { - "body-leading-blank": [ - 1, - "always" - ], - "footer-leading-blank": [ - 1, - "always" - ], - "header-max-length": [ - 2, - "always", - 72 - ], - "scope-case": [ - 2, - "always", - "lower-case" - ], - "subject-case": [ - 2, - "never", - [ - "sentence-case", - "start-case", - "pascal-case", - "upper-case" - ] - ], - "subject-empty": [ - 2, - "never" - ], - "subject-full-stop": [ - 2, - "never", - "." - ], - "type-case": [ - 2, - "always", - "lower-case" - ], - "type-empty": [ - 2, - "never" - ], - "type-enum": [ - 2, - "always", - [ - "build", - "chore", - "ci", - "docs", - "feat", - "fix", - "perf", - "refactor", - "revert", - "style", - "test" - ] - ] - } - }, - "snyk": true, - "config": { - "commitizen": { - "path": "./node_modules/cz-conventional-changelog" - } - } + "snyk": true }