Refactor
This commit is contained in:
parent
556e0e1eb2
commit
e0a82ee731
49 changed files with 1076 additions and 765 deletions
15
devshell.nix
Normal file
15
devshell.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{pkgs}:
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
alejandra # formatteur nix officiel (rapide)
|
||||
statix # linting pour repérer mauvaises pratiques
|
||||
deadnix # détecte le code mort / imports inutiles
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "Tools dispo :"
|
||||
echo " alejandra . # formate tout ton Nix"
|
||||
echo " statix check # lint"
|
||||
echo " deadnix . # cherche le code mort"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue