aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/markdownlint.lua
diff options
context:
space:
mode:
authorpseudometa <73286100+chrisgrieser@users.noreply.github.com>2023-09-14 20:44:32 +0200
committerGitHub <noreply@github.com>2023-09-14 11:44:32 -0700
commit580ab1880e740f4aebbc72a05350461f3cdef53d (patch)
tree24111a2bf00765ee7835feb09b546f8a1ca68598 /lua/conform/formatters/markdownlint.lua
parentdb7461afcf751023adeb346d833f2e5d40a420c4 (diff)
feat: add `markdownlint`, `stylelint`, `codespell`, and `biome` (#45)
* feat: add markdownlint, stylelint & codespell * feat: add `biome` * fix: indentation
Diffstat (limited to 'lua/conform/formatters/markdownlint.lua')
-rw-r--r--lua/conform/formatters/markdownlint.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/markdownlint.lua b/lua/conform/formatters/markdownlint.lua
new file mode 100644
index 0000000..654a603
--- /dev/null
+++ b/lua/conform/formatters/markdownlint.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/DavidAnson/markdownlint",
+ description = "A Node.js style checker and lint tool for Markdown/CommonMark files.",
+ },
+ command = "markdownlint",
+ args = { "--fix", "$FILENAME" },
+ stdin = false,
+}