feat(mapping): add 9 missing formatter tools to conform_to_package mapping

Note: Only verified these specific tools exist - did not audit existing uncommented entries for deprecation or correctness.
This commit is contained in:
zknx
2025-08-08 12:49:28 +02:00
committed by Andreas Palm
parent 368ee5d3e6
commit 48da2ebd5e
+9 -9
View File
@@ -3,7 +3,7 @@ local M = {}
-- conform formatter to mason package mapping -- conform formatter to mason package mapping
-- https://mason-registry.dev/registry/list -- https://mason-registry.dev/registry/list
M.conform_to_package = { M.conform_to_package = {
-- air ["air"] = "air",
["alejandra"] = "alejandra", ["alejandra"] = "alejandra",
["ansible-lint"] = "ansible-lint", ["ansible-lint"] = "ansible-lint",
["asmfmt"] = "asmfmt", ["asmfmt"] = "asmfmt",
@@ -85,7 +85,7 @@ M.conform_to_package = {
["goimports"] = "goimports", ["goimports"] = "goimports",
["goimports-reviser"] = "goimports-reviser", ["goimports-reviser"] = "goimports-reviser",
-- gojq -- gojq
-- golangci-lint ["golangci-lint"] = "golangci-lint",
["golines"] = "golines", ["golines"] = "golines",
["google-java-format"] = "google-java-format", ["google-java-format"] = "google-java-format",
-- grain_format -- grain_format
@@ -108,7 +108,7 @@ M.conform_to_package = {
["jsonnetfmt"] = "jsonnetfmt", ["jsonnetfmt"] = "jsonnetfmt",
-- just -- just
["kcl"] = "kcl", ["kcl"] = "kcl",
-- kdlfmt ["kdlfmt"] = "kdlfmt",
-- keep-sorted -- keep-sorted
["ktfmt"] = "ktfmt", ["ktfmt"] = "ktfmt",
["ktlint"] = "ktlint", ["ktlint"] = "ktlint",
@@ -132,9 +132,9 @@ M.conform_to_package = {
-- nginxfmt -- nginxfmt
-- nickel; it exists on Mason, but as LSP (exec: `nls`) -- nickel; it exists on Mason, but as LSP (exec: `nls`)
-- nimpretty -- nimpretty
-- nixfmt ["nixfmt"] = "nixfmt",
["nixpkgs_fmt"] = "nixpkgs-fmt", ["nixpkgs_fmt"] = "nixpkgs-fmt",
-- nomad_fmt ["nomad_fmt"] = "nomad",
-- nph -- nph
["npm-groovy-lint"] = "npm-groovy-lint", ["npm-groovy-lint"] = "npm-groovy-lint",
-- nufmt -- nufmt
@@ -160,7 +160,7 @@ M.conform_to_package = {
["purs-tidy"] = "purescript-tidy", ["purs-tidy"] = "purescript-tidy",
-- pycln -- pycln
["pyink"] = "pyink", ["pyink"] = "pyink",
-- pyproject-fmt ["pyproject-fmt"] = "pyproject-fmt",
-- python-ly -- python-ly
-- pyupgrade -- pyupgrade
["reformat-gherkin"] = "reformat-gherkin", ["reformat-gherkin"] = "reformat-gherkin",
@@ -187,7 +187,7 @@ M.conform_to_package = {
["sql_formatter"] = "sql-formatter", ["sql_formatter"] = "sql-formatter",
["sqlfluff"] = "sqlfluff", ["sqlfluff"] = "sqlfluff",
["sqlfmt"] = "sqlfmt", ["sqlfmt"] = "sqlfmt",
-- sqruff ["sqruff"] = "sqruff",
-- squeeze_blanks -- squeeze_blanks
-- standard-clj -- standard-clj
["standardjs"] = "standardjs", ["standardjs"] = "standardjs",
@@ -204,12 +204,12 @@ M.conform_to_package = {
-- syntax_tree -- syntax_tree
["taplo"] = "taplo", ["taplo"] = "taplo",
["templ"] = "templ", ["templ"] = "templ",
-- terraform_fmt ["terraform_fmt"] = "terraform",
-- terragrunt_hclfmt -- terragrunt_hclfmt
["tex-fmt"] = "tex-fmt", ["tex-fmt"] = "tex-fmt",
["tlint"] = "tlint", ["tlint"] = "tlint",
-- tofu_fmt -- tofu_fmt
-- tombi ["tombi"] = "tombi",
-- treefmt -- treefmt
-- trim_newlines -- trim_newlines
-- trim_whitespace -- trim_whitespace