From 5538bea8f6bfac46227face2901e59517c39c130 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Sat, 23 Sep 2017 23:17:14 +0200 Subject: [PATCH] Add Angular Config for CommitLint (#367) --- commitlint.config.js | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 commitlint.config.js diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 000000000..c2eab641c --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['@commitlint/config-angular'] +}; diff --git a/package.json b/package.json index 134176ff7..630be84b7 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "@angular/platform-browser-dynamic": "^4.3.6", "@angular/platform-server": "^4.3.6", "@commitlint/cli": "^3.1.3", + "@commitlint/config-angular": "^3.1.1", "@types/graphql": "^0.10.2", "@types/jest": "^19.2.2", "@types/node": "^6.0.59", @@ -97,4 +98,4 @@ "json" ] } -} \ No newline at end of file +}