plugins/none-ls: add ktlint formatter and diagnostics (#729)

This commit is contained in:
Mikael Fangel 2023-11-23 07:40:49 +00:00 committed by GitHub
parent 796e7391ce
commit a88b955020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -50,6 +50,9 @@
hadolint = {
package = pkgs.hadolint;
};
ktlint = {
package = pkgs.ktlint;
};
luacheck = {
package = pkgs.luaPackages.luacheck;
};
@ -112,6 +115,9 @@
jq = {
package = pkgs.jq;
};
ktlint = {
package = pkgs.ktlint;
};
markdownlint = {
package = pkgs.nodePackages.markdownlint-cli;
};

View file

@ -50,6 +50,7 @@
flake8.enable = true;
gitlint.enable = true;
golangci_lint.enable = true;
ktlint.enable = true;
shellcheck.enable = true;
statix.enable = true;
vale.enable = true;
@ -71,6 +72,7 @@
fnlfmt.enable = true;
fourmolu.enable = true;
gofmt.enable = true;
ktlint.enable = true;
nixfmt.enable = true;
nixpkgs_fmt.enable = true;
phpcbf.enable = true;