✨ feat(nvim): stylelint and python import for mason
This commit is contained in:
parent
02f4037323
commit
34dcdeb167
3 changed files with 10 additions and 1 deletions
|
@ -32,9 +32,13 @@ return {
|
||||||
typescript = { { "prettierd", "prettier", "rustywind" } },
|
typescript = { { "prettierd", "prettier", "rustywind" } },
|
||||||
typescriptreact = { { "prettierd", "prettier", "rustywind" } },
|
typescriptreact = { { "prettierd", "prettier", "rustywind" } },
|
||||||
vue = { { "prettierd", "prettier", "rustywind" } },
|
vue = { { "prettierd", "prettier", "rustywind" } },
|
||||||
html = { { "prettierd", "prettier", "rustywind" } },
|
html = { { "prettierd", "prettier", "rustywind", "stylelint" } },
|
||||||
rust = { "rusfmt" },
|
rust = { "rusfmt" },
|
||||||
go = { "gofumpt", "goimports" },
|
go = { "gofumpt", "goimports" },
|
||||||
|
sass = { "stylelint" },
|
||||||
|
css = { { "prettierd", "prettier", "stylelint" } },
|
||||||
|
scss = { { "prettierd", "prettier", "stylelint" } },
|
||||||
|
less = { { "prettierd", "prettier", "stylelint" } },
|
||||||
},
|
},
|
||||||
-- LazyVim will merge the options you set here with builtin formatters.
|
-- LazyVim will merge the options you set here with builtin formatters.
|
||||||
-- You can also define any custom formatters here.
|
-- You can also define any custom formatters here.
|
||||||
|
|
|
@ -11,6 +11,9 @@ return {
|
||||||
python = { "pylint" },
|
python = { "pylint" },
|
||||||
yaml = { "yamllint" },
|
yaml = { "yamllint" },
|
||||||
dockerfile = { "hadolint" },
|
dockerfile = { "hadolint" },
|
||||||
|
css = { "stylelint" },
|
||||||
|
sass = { "stylelint" },
|
||||||
|
scss = { "stylelint" },
|
||||||
},
|
},
|
||||||
-- LazyVim extension to easily override linter options
|
-- LazyVim extension to easily override linter options
|
||||||
-- or add custom linters.
|
-- or add custom linters.
|
||||||
|
|
|
@ -30,6 +30,8 @@ return {
|
||||||
"delve",
|
"delve",
|
||||||
"impl",
|
"impl",
|
||||||
"gomodifytags",
|
"gomodifytags",
|
||||||
|
"isort",
|
||||||
|
"stylelint",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue