Skip to content

Commit 059f1c7

Browse files
mfranzkenmerget
andauthored
refactor: aligned lint fixing (#4581)
as the other linting / codestyle tools like `prettier` and `stylelint` are even also processed to fixing the problems right away, we should active this as well for markdownlint. Co-authored-by: Nicolas Merget <[email protected]>
1 parent a80b92d commit 059f1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.config/.lintstagedrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @type {import('lint-staged').Configuration}
33
*/
44
export default {
5-
'*.md': 'markdownlint -c .config/.markdown-lint.yml',
5+
'*.md': 'markdownlint -c .config/.markdown-lint.yml --fix',
66
// In case that we're changing the stylelints configuration files content, we would need to validate it
77
'.stylelintrc.*': 'stylelint --validate --allow-empty-input',
88
'stylelint.config.*': 'stylelint --validate --allow-empty-input',

0 commit comments

Comments
 (0)