diff options
author | pseudometa <73286100+chrisgrieser@users.noreply.github.com> | 2023-09-22 17:56:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 08:56:35 -0700 |
commit | 5454fb5a72a957b550fb7a0f5c4e84684c529920 (patch) | |
tree | 60b61f1547de414c2e2abd14f52e7585847bb099 /lua/conform/formatters/markdownlint.lua | |
parent | 305eb13a38e6596a68fdea625afc46b2d9b320d5 (diff) |
fix: `stylelint` and `markdownlint` when there are non-autofixable errors (#70)
* fix: `stylelint` when there are non-autofixable errors
* fix: exit code for non-autofixable error in `markdownlint`
Diffstat (limited to 'lua/conform/formatters/markdownlint.lua')
-rw-r--r-- | lua/conform/formatters/markdownlint.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/conform/formatters/markdownlint.lua b/lua/conform/formatters/markdownlint.lua index 654a603..40de29b 100644 --- a/lua/conform/formatters/markdownlint.lua +++ b/lua/conform/formatters/markdownlint.lua @@ -6,5 +6,6 @@ return { }, command = "markdownlint", args = { "--fix", "$FILENAME" }, + exit_codes = { 0, 1 }, -- code 1 is given when trying a file that includes non-autofixable errors stdin = false, } |