- Formatting for: added yaml, configured markdown with new configuration
  file, prettierd configuration updates for bracketsSameLine
- Linting: added dockerfile, markdown
This commit is contained in:
Pratik Tripathy
2024-03-17 17:31:37 +05:30
parent 074d1ca987
commit 42d75df1f1
5 changed files with 87 additions and 3 deletions

View File

@@ -16,9 +16,9 @@ return {
css = { { "prettierd", "prettier" } },
html = { { "prettierd", "prettier" } },
json = { { "prettierd", "prettier" } },
yaml = { { "prettierd", "prettier" } },
markdown = { { "prettierd", "prettier" } },
graphql = { { "prettierd", "prettier" } },
yaml = { { "yamlfmt", "prettierd" } },
markdown = { { "markdownlint" } },
lua = { "stylua" },
python = { "black" },
sh = { { "shfmt", "shellharden" } },
@@ -37,6 +37,19 @@ return {
shfmt = {
prepend_args = { "-i", "4" },
},
markdownlint = {
prepend_args = {
"--config",
"~/.config/templates/markdownlint.json",
},
},
yamlfmt = {
prepend_args = {
"-formatter",
"include_document_start=true,retain_line_breaks_single=true",
"-gitignore_excludes",
},
},
},
})