Skip to content

Commit

Permalink
🔧 chore(semantic-release): allow emoji prefix in commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorylegarec committed Jun 16, 2018
1 parent 41d5941 commit 125178b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18 deletions.
9 changes: 9 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const parserPreset = require('./parser-preset')

module.exports = {
extends: ['@commitlint/config-conventional'],
parserPreset: parserPreset,
rules: {
'scope-case': [0]
}
}
18 changes: 0 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,23 +130,5 @@
"__TARGET__": "browser",
"cozy": {}
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"scope-case": [0]
}
},
"release": {
"prepare": [
{
"path": "@semantic-release/changelog",
"changelogFile": "CHANGELOG.md"
},
"@semantic-release/git",
"@semantic-release/npm"
]
}
}
10 changes: 10 additions & 0 deletions parser-preset.js

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

11 changes: 11 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const parserPreset = require('./parser-preset')

module.exports = {
prepare: [
{
path: '@semantic-release/changelog',
changelogFile: 'CHANGELOG.md'
}
],
analyzeCommits: parserPreset
}

0 comments on commit 125178b

Please sign in to comment.