style(treewide): Apply linter suggestions
This commit is contained in:
		
							parent
							
								
									5192ec9633
								
							
						
					
					
						commit
						bbdd459c18
					
				
					 20 changed files with 432 additions and 450 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,15 @@
 | 
			
		|||
let
 | 
			
		||||
  pkgs = nixpkgs.legacyPackages.${system};
 | 
			
		||||
 | 
			
		||||
  statix' = pkgs.statix.overrideAttrs (old: {
 | 
			
		||||
    patches = old.patches ++ [
 | 
			
		||||
      (pkgs.fetchpatch {
 | 
			
		||||
        url = "https://github.com/oppiliappan/statix/commit/925dec39bb705acbbe77178b4d658fe1b752abbb.patch";
 | 
			
		||||
        hash = "sha256-0wacO6wuYJ4ufN9PGucRVJucFdFFNF+NoHYIrLXsCWs=";
 | 
			
		||||
      })
 | 
			
		||||
    ];
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  runNuCheck =
 | 
			
		||||
    {
 | 
			
		||||
      name,
 | 
			
		||||
| 
						 | 
				
			
			@ -44,7 +53,7 @@ nixpkgs.lib.recursiveUpdate {
 | 
			
		|||
      pkgs.deadnix
 | 
			
		||||
      pkgs.nixfmt-rfc-style
 | 
			
		||||
      pkgs.shellcheck
 | 
			
		||||
      pkgs.statix
 | 
			
		||||
      statix'
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    check = ./lints.nu;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue