Skip to content

Commit

Permalink
Chore(ci): Allow markdown lint fail on warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Jan 7, 2025
1 parent e4e4c4b commit a9fee8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .remarkrc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
],

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a9fee8e

Please sign in to comment.