Skip to content

Commit

Permalink
ci: change commitlint rules, body-max-line-length to Infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
iamyoki committed Dec 16, 2021
1 parent 963a719 commit 0ab6c2c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
7 changes: 6 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
module.exports = {extends: ['@commitlint/config-conventional']};
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [0, 'always', 'Infinity'],
},
};
13 changes: 4 additions & 9 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('semantic-release').Options} */
const release = {
const config = {
branches: 'main',
plugins: [
[
Expand Down Expand Up @@ -60,14 +60,9 @@ const release = {
},
},
],
'@semantic-release/npm',
'@semantic-release/changelog',
'@semantic-release/github',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
},
],
'@semantic-release/npm',
[
'@semantic-release/git',
{
Expand All @@ -79,4 +74,4 @@ const release = {
],
};

module.exports = release;
module.exports = config;

0 comments on commit 0ab6c2c

Please sign in to comment.