Skip to content

Commit

Permalink
ci(commitlint): Add Commitlint support ⚙️
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Aug 25, 2017
1 parent 1f9ed31 commit d36bbfa
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 0 deletions.
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-angular']};
201 changes: 201 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
}
},
"devDependencies": {
"@commitlint/cli": "^3.1.3",
"@commitlint/config-angular": "^3.1.1",
"@metahub/cz-conventional-commit": "^1.1.1",
"@metahub/eslint-config": "^1.6.2",
"ava": "^0.22.0",
Expand All @@ -34,6 +36,7 @@
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-sort-class-members": "^1.2.0",
"husky": "^0.14.3",
"jasmine-core": "^2.8.0",
"jasmine-jquery": "^2.1.1",
"jquery": "^3.2.1",
Expand Down Expand Up @@ -97,10 +100,13 @@
"clean": "rimraf test/fixtures/.tmp && rimraf coverage && rimraf .nyc_output",
"cm": "git-cz",
"codecov": "codecov",
"commitmsg": "commitlint -e",
"compile": "rimraf lib && babel src --only index.js --source-maps --out-dir lib && rollup -c build/rollup.config.js",
"lint": "eslint src test package.json",
"precommit": "npm run compile && npm run lint",
"prepare": "npm run compile",
"prepublishOnly": "npm run compile",
"prepush": "ava -v",
"pretest": "npm run clean && npm run compile && npm run lint",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "nyc --all ava -v && nyc report --reporter=lcov"
Expand Down

0 comments on commit d36bbfa

Please sign in to comment.