feat(nvim): stylelint and python import for mason

This commit is contained in:
Sergio Laín 2023-10-13 18:50:26 +02:00
parent 02f4037323
commit 34dcdeb167
No known key found for this signature in database
GPG key ID: E3BC677C07A2C7AC
3 changed files with 10 additions and 1 deletions

View file

@ -32,9 +32,13 @@ return {
typescript = { { "prettierd", "prettier", "rustywind" } },
typescriptreact = { { "prettierd", "prettier", "rustywind" } },
vue = { { "prettierd", "prettier", "rustywind" } },
html = { { "prettierd", "prettier", "rustywind" } },
html = { { "prettierd", "prettier", "rustywind", "stylelint" } },
rust = { "rusfmt" },
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.
-- You can also define any custom formatters here.

View file

@ -11,6 +11,9 @@ return {
python = { "pylint" },
yaml = { "yamllint" },
dockerfile = { "hadolint" },
css = { "stylelint" },
sass = { "stylelint" },
scss = { "stylelint" },
},
-- LazyVim extension to easily override linter options
-- or add custom linters.

View file

@ -30,6 +30,8 @@ return {
"delve",
"impl",
"gomodifytags",
"isort",
"stylelint",
},
},
},