mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-30 17:32:09 +01:00 
			
		
		
		
	flake: add typos pre-commit check
This commit is contained in:
		
							parent
							
								
									8304d9872f
								
							
						
					
					
						commit
						92b76ecfd6
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -70,6 +70,10 @@ | |||
|           hooks = { | ||||
|             shellcheck.enable = true; | ||||
|             nixpkgs-fmt.enable = true; | ||||
|             typos = { | ||||
|               enable = true; | ||||
|               excludes = [ "secrets\\.yaml" ]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
| 
 | ||||
|  | @ -81,6 +85,7 @@ | |||
|             # formatters | ||||
|             pkgs.shellcheck | ||||
|             pkgs.nixpkgs-fmt | ||||
|             pkgs.typos | ||||
|           ]; | ||||
|           shellHook = '' | ||||
|             ${config.pre-commit.installationScript} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler