REFACTOR: Updated from older config

This commit is contained in:
2026-10-10 05:54:27 -04:00
parent 48da2ebd5e
commit 132a3d0630
9 changed files with 444 additions and 84 deletions
+17 -5
View File
@@ -1,7 +1,8 @@
local M = {}
-- conform formatter to mason package mapping
-- https://mason-registry.dev/registry/list
---Conform formatter name -> mason package name.
---https://mason-registry.dev/registry/list
---@type table<string, string>
M.conform_to_package = {
["air"] = "air",
["alejandra"] = "alejandra",
@@ -53,6 +54,7 @@ M.conform_to_package = {
-- dioxus
["djlint"] = "djlint",
["docformatter"] = "docformatter",
["dockerfmt"] = "dockerfmt",
-- docstrfmt
["doctoc"] = "doctoc",
["dprint"] = "dprint",
@@ -75,6 +77,7 @@ M.conform_to_package = {
-- gawk
["gci"] = "gci",
["gdformat"] = "gdtoolkit",
["gdscript-formatter"] = "gdscript-formatter",
["gersemi"] = "gersemi",
-- ghokin
-- gleam
@@ -118,6 +121,7 @@ M.conform_to_package = {
-- liquidsoap-prettier
-- llf
["lua-format"] = "luaformatter",
["luafmt"] = "luafmt",
-- mago_format
-- mago_lint
["markdown-toc"] = "markdown-toc",
@@ -143,7 +147,12 @@ M.conform_to_package = {
-- odinfmt
["opa_fmt"] = "opa",
["ormolu"] = "ormolu",
["oxfmt"] = "oxfmt",
["oxlint"] = "oxlint",
-- packer_fmt
["palantir-java-format"] = "palantir-java-format",
["panache"] = "panache",
["panache-fix"] = "panache",
-- pangu
-- perlimports
-- perltidy
@@ -160,9 +169,10 @@ M.conform_to_package = {
["purs-tidy"] = "purescript-tidy",
-- pycln
["pyink"] = "pyink",
["pymarkdownlnt"] = "pymarkdownlnt",
["pyproject-fmt"] = "pyproject-fmt",
-- python-ly
-- pyupgrade
["pyupgrade"] = "pyupgrade",
["reformat-gherkin"] = "reformat-gherkin",
["reorder-python-imports"] = "reorder-python-imports",
-- rescript-format
@@ -170,10 +180,12 @@ M.conform_to_package = {
-- rstfmt
["rubocop"] = "rubocop",
["rubyfmt"] = "rubyfmt",
["ruff"] = "ruff",
["ruff_fix"] = "ruff",
["ruff_format"] = "ruff",
["ruff_organize_imports"] = "ruff",
["rufo"] = "rufo",
["rumdl"] = "rumdl",
-- runic
-- ["rustfmt"] = "rustfmt", Deprecated by mason
["rustywind"] = "rustywind",
@@ -199,7 +211,7 @@ M.conform_to_package = {
["superhtml"] = "superhtml",
-- swift
-- swift_format
-- swiftformat
["swiftformat"] = "swiftformat",
["swiftlint"] = "swiftlint",
-- syntax_tree
["taplo"] = "taplo",
@@ -216,7 +228,7 @@ M.conform_to_package = {
["twig-cs-fixer"] = "twig-cs-fixer",
-- typespec
["typos"] = "typos",
-- typstyle
["typstyle"] = "typstyle",
-- ufmt
-- uncrustify
["usort"] = "usort",