Skip to content

Commit

Permalink
Merge pull request #79 from stelmakhivan/bugfix/prettier-ignore-config
Browse files Browse the repository at this point in the history
fix: config for Prettier formatter
  • Loading branch information
vasylnahuliak committed Oct 31, 2023
2 parents 0236577 + dd4dc95 commit dd66e49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ example
.all-contributorsrc
*.md
*.yml
*.yaml
21 changes: 11 additions & 10 deletions branch-name-lint.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module.exports = {
rules: {
'branch-name': [
2,
{
format: /^(feature|publish|release|hotfix|develop|master)\/[a-z0-9._-]+$/,
}
]
}
};
module.exports = {
rules: {
'branch-name': [
2,
{
format:
/^(feature|publish|release|hotfix|develop|master)\/[a-z0-9._-]+$/,
},
],
},
};

0 comments on commit dd66e49

Please sign in to comment.