feat: adding linter for commits
This commit is contained in:
30
node_modules/conventional-changelog-conventionalcommits/templates/commit.hbs
generated
vendored
Normal file
30
node_modules/conventional-changelog-conventionalcommits/templates/commit.hbs
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
*{{#if scope}} **{{scope}}:**
|
||||
{{~/if}} {{#if subject}}
|
||||
{{~subject}}
|
||||
{{~else}}
|
||||
{{~header}}
|
||||
{{~/if}}
|
||||
|
||||
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
|
||||
([{{shortHash}}]({{commitUrlFormat}}))
|
||||
{{~else}}
|
||||
{{~shortHash}}
|
||||
{{~/if}}{{~/if}}
|
||||
|
||||
{{~!-- commit references --}}
|
||||
{{~#if references~}}
|
||||
, closes
|
||||
{{~#each references}} {{#if @root.linkReferences~}}
|
||||
[
|
||||
{{~#if this.owner}}
|
||||
{{~this.owner}}/
|
||||
{{~/if}}
|
||||
{{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
|
||||
{{~else}}
|
||||
{{~#if this.owner}}
|
||||
{{~this.owner}}/
|
||||
{{~/if}}
|
||||
{{~this.repository}}{{this.prefix}}{{this.issue}}
|
||||
{{~/if}}{{/each}}
|
||||
{{~/if}}
|
||||
|
||||
0
node_modules/conventional-changelog-conventionalcommits/templates/footer.hbs
generated
vendored
Normal file
0
node_modules/conventional-changelog-conventionalcommits/templates/footer.hbs
generated
vendored
Normal file
13
node_modules/conventional-changelog-conventionalcommits/templates/header.hbs
generated
vendored
Normal file
13
node_modules/conventional-changelog-conventionalcommits/templates/header.hbs
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{{#if isPatch~}}
|
||||
###
|
||||
{{~else~}}
|
||||
##
|
||||
{{~/if}} {{#if @root.linkCompare~}}
|
||||
[{{version}}]({{compareUrlFormat}})
|
||||
{{~else}}
|
||||
{{~version}}
|
||||
{{~/if}}
|
||||
{{~#if title}} "{{title}}"
|
||||
{{~/if}}
|
||||
{{~#if date}} ({{date}})
|
||||
{{/if}}
|
||||
23
node_modules/conventional-changelog-conventionalcommits/templates/template.hbs
generated
vendored
Normal file
23
node_modules/conventional-changelog-conventionalcommits/templates/template.hbs
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{{> header}}
|
||||
|
||||
{{#if noteGroups}}
|
||||
{{#each noteGroups}}
|
||||
|
||||
### ⚠ {{title}}
|
||||
|
||||
{{#each notes}}
|
||||
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#each commitGroups}}
|
||||
|
||||
{{#if title}}
|
||||
### {{title}}
|
||||
|
||||
{{/if}}
|
||||
{{#each commits}}
|
||||
{{> commit root=@root}}
|
||||
{{/each}}
|
||||
|
||||
{{/each}}
|
||||
Reference in New Issue
Block a user