Skip to content

Commit

Permalink
feat(commitlint): add commitlint
Browse files Browse the repository at this point in the history
add commitlint with script and associated dependencies

fix NationalBankBelgium#290
  • Loading branch information
tenretC committed Apr 25, 2018
1 parent 73c9c72 commit ba46308
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ["@commitlint/config-conventional"] };
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
"npm": ">=5.3.0"
},
"devDependencies": {
"@angular/core": "5.2.10",
"@angular/compiler": "5.2.10",
"@angular/compiler-cli": "5.2.10",
"@angular/core": "5.2.10",
"@commitlint/cli": "6.1.3",
"@commitlint/config-conventional": "6.1.3",
"codelyzer": "4.3.0",
"commitizen": "2.9.6",
"cz-conventional-changelog": "2.1.0",
Expand Down Expand Up @@ -61,6 +63,7 @@
"clean:modules:stark-testing": "cd packages/stark-testing && npm run clean:modules dist && cd ../..",
"clean:modules:starter": "cd starter && npm run clean:modules dist && cd ..",
"commit": "./node_modules/.bin/git-cz",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "tslint --config tslint.json --project ./tsconfig.json --format codeFrame",
"lint:stark-core": "cd packages/stark-core && npm run lint && cd ../..",
"lint:starter": "cd starter && npm run lint && cd ..",
Expand Down

0 comments on commit ba46308

Please sign in to comment.