diff --git a/.lintstagedrc b/.lintstagedrc index 0620afd33..a1264e5e4 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,3 +1,4 @@ { - "*": " prettier --write" + "*": " prettier --write", + "*.md": "markdown-link-check --quiet" } \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..052e9784e --- /dev/null +++ b/.prettierignore @@ -0,0 +1,8 @@ +# Ignore everything recursively +* + +# But not the markdown files +!*.md + +# Check subdirectories too +!*/ \ No newline at end of file