Skip to content

Commit

Permalink
Merge pull request #646 from Shreyas-vgr/2.0.x
Browse files Browse the repository at this point in the history
Commitlint and husky package config for commit rules
  • Loading branch information
Shreyas-vgr committed Aug 18, 2020
2 parents 16d7460 + f857438 commit ad67fa0
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"rules": {
"body-leading-blank": [1, "always"],
"footer-leading-blank": [1, "always"],
"subject-empty": [2, "never"],
"subject-full-stop": [2, "never", "."],
"subject-case": [
2,
"never",
["sentence-case", "pascal-case", "start-case", "upper-case"]
],
"scope-case": [2, "always", "lower-case"],
"type-case": [2, "always", "lower-case"],
"type-empty": [2, "never"],
"type-enum": [
2,
"always",
[
"chore",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test"
]
]
}
}
1 change: 0 additions & 1 deletion alexa-apis-for-nodejs
Submodule alexa-apis-for-nodejs deleted from 90c3c3
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@
"docs": "rm -rf ./alexa-sdk-node-typedoc && ./node_modules/.bin/typedoc --out alexa-sdk-node-typedoc"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"husky": "^4.2.5",
"lerna": "^3.16.4",
"typedoc": "^0.17.8",
"typescript": "^3.9.5"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"name": "alexa-skills-kit-sdk-for-nodejs"
}

0 comments on commit ad67fa0

Please sign in to comment.