Add ruff linter and formatter as none-ls source

This commit is contained in:
Nathan Felber 2024-02-22 14:09:16 +01:00 committed by Gaetan Lepage
parent 5870c2e964
commit 060a05138c
2 changed files with 12 additions and 0 deletions

View file

@ -87,6 +87,9 @@ with lib; let
revive = {
pacakge = pkgs.revive;
};
ruff = {
package = pkgs.ruff;
};
shellcheck = {
package = pkgs.shellcheck;
};
@ -201,6 +204,12 @@ with lib; let
protolint = {
package = pkgs.protolint;
};
ruff = {
package = pkgs.ruff;
};
ruff_format = {
package = pkgs.ruff;
};
rustfmt = {
package = pkgs.rustfmt;
};

View file

@ -70,6 +70,7 @@
ktlint.enable = true;
ltrs.enable = true;
markdownlint.enable = true;
ruff.enable = true;
shellcheck.enable = true;
statix.enable = true;
staticcheck.enable = true;
@ -122,6 +123,8 @@
markdownlint.enable = true;
pint.enable = true;
protolint.enable = true;
ruff.enable = true;
ruff_format.enable = true;
rustfmt.enable = true;
sqlfluff.enable = true;
trim_newlines.enable = true;