add: added statix, deadnix, nixpkgs_fmt to null-ls sources

This commit is contained in:
Tanish2002 2023-05-21 13:27:14 +05:30 committed by Gaétan Lepage
parent 82c328e6cd
commit 49f46d3b3d
2 changed files with 16 additions and 0 deletions

View file

@ -11,6 +11,9 @@
shellcheck = {
package = pkgs.shellcheck;
};
statix = {
package = pkgs.statix;
};
};
completion = {};
diagnostics = {
@ -26,6 +29,12 @@
gitlint = {
package = pkgs.gitlint;
};
deadnix = {
package = pkgs.deadnix;
};
statix = {
package = pkgs.statix;
};
};
formatting = {
phpcbf = {
@ -37,6 +46,9 @@
nixfmt = {
package = pkgs.nixfmt;
};
nixpkgs_fmt = {
package = pkgs.nixpkgs-fmt;
};
prettier = {
package = pkgs.nodePackages.prettier;
};

View file

@ -38,12 +38,15 @@
code_actions = {
gitsigns.enable = true;
shellcheck.enable = true;
statix.enable = true;
};
diagnostics = {
cppcheck.enable = true;
flake8.enable = true;
gitlint.enable = true;
shellcheck.enable = true;
statix.enable = true;
deadnix.enable = true;
};
formatting = {
alejandra.enable = true;
@ -57,6 +60,7 @@
shfmt.enable = true;
stylua.enable = true;
taplo.enable = true;
nixpkgs_fmt.enable = true;
};
};
};