From dd4dc954820c85e2e21ca3cf99e7387c6fddee33 Mon Sep 17 00:00:00 2001 From: Ivan Stelmakh Date: Mon, 30 Oct 2023 23:01:13 +0200 Subject: [PATCH] fix: config for Prettier formatter --- .prettierignore | 1 + branch-name-lint.config.js | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.prettierignore b/.prettierignore index fe86897..008c30e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,3 +4,4 @@ example .all-contributorsrc *.md *.yml +*.yaml diff --git a/branch-name-lint.config.js b/branch-name-lint.config.js index 103931d..69ef412 100644 --- a/branch-name-lint.config.js +++ b/branch-name-lint.config.js @@ -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._-]+$/, + }, + ], + }, +};