diff --git a/.gitlab/dangerjs/mrCommitsCommitMessage.js b/.gitlab/dangerjs/mrCommitsCommitMessage.js index ac87b32c69..14ac0a1a2d 100644 --- a/.gitlab/dangerjs/mrCommitsCommitMessage.js +++ b/.gitlab/dangerjs/mrCommitsCommitMessage.js @@ -82,7 +82,7 @@ module.exports = async function () { break; case "scope-case": issuesSingleCommitMessage.push( - `- *scope/component* should start with a lowercase letter` + `- *scope/component* should be lowercase without whitespace, allowed special characters are \`_\` \`/\` \`.\` \`,\` \`*\` \`-\` \`.\`` ); break; case "subject-empty": diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b989954b0d..431920425c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -169,7 +169,7 @@ repos: - id: check-copyright args: ['--ignore', 'tools/ci/check_copyright_ignore.txt', '--config', 'tools/ci/check_copyright_config.yaml'] - repo: https://github.com/espressif/conventional-precommit-linter - rev: v1.2.0 + rev: v1.2.1 hooks: - id: conventional-precommit-linter stages: [commit-msg]