diff --git a/.remarkrc.mjs b/.remarkrc.mjs index 957e4fb1e7..7707da020a 100644 --- a/.remarkrc.mjs +++ b/.remarkrc.mjs @@ -38,7 +38,7 @@ export default { 'remark-lint-heading-capitalization', { lowerCaseWords: ['v1', 'v2', 'v3', 'v4', 'vs'], - ignorePattern: ['^@lmc-eu/spirit-.*', '^spirit-.*', '`.*`', '.*-config-spirit'], + ignorePattern: ['^@lmc-eu/spirit-[a-z-]+', '^spirit-[a-z-]+', '`[^`]+`', '[a-z-]+-config-spirit'], }, ], diff --git a/package.json b/package.json index 1e5d188d27..82fe21bb46 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "types": "yarn packages:types", "lint": "npm-run-all --parallel es:lint lint:markdown packages:lint", "lint:fix": "npm-run-all --parallel es:lint:fix packages:lint:fix", - "lint:markdown": "remark ./ --quiet", + "lint:markdown": "remark ./ --quiet --frail", "lint:commit": "yarn commitlint --verbose --color --from $(git merge-base origin/main HEAD)", "packages:lint:fix": "lerna run lint:fix --parallel", "packages:lint": "lerna run lint --parallel --no-sort",