Skip to content

chore: lint commit messages #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
};
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"scripts": {
"clean": "rimraf lib dist es",
"commitmsg": "commitlint -e $GIT_PARAMS",
"build:commonjs": "cross-env NODE_ENV=cjs rollup -c -o lib/ng-redux.js",
"build:es": "cross-env NODE_ENV=es rollup -c -o es/ng-redux.js",
"build": "npm run build:commonjs && npm run build:es",
Expand All @@ -31,11 +32,14 @@
},
"homepage": "https://github.com/angular-redux/ng-redux#readme",
"devDependencies": {
"@commitlint/cli": "^5.2.8",
"@commitlint/config-conventional": "^5.2.3",
"babel-core": "^6.25.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"cross-env": "^5.0.5",
"expect": "^1.20.2",
"husky": "^0.14.3",
"mocha": "^3.5.0",
"rimraf": "^2.6.1",
"rollup": "^0.47.4",
Expand Down
Loading