feat: added additional precommit checks
* check-byte-order-marker * conventional-pre-commit
This commit is contained in:
		
							parent
							
								
									6ae7e0c219
								
							
						
					
					
						commit
						e1c96f6b4b
					
				
					 3 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								.ecrc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.ecrc
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| { | ||||
|     "IgnoreDefaults": false, | ||||
|     "Exclude": ["^LICENSE$", "^LICENSES/.*"] | ||||
| } | ||||
							
								
								
									
										3
									
								
								.ecrc.license
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.ecrc.license
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| SPDX-FileCopyrightText: 2023 Tobias Schmidl | ||||
| 
 | ||||
| SPDX-License-Identifier: AGPL-3.0-or-later | ||||
|  | @ -11,6 +11,7 @@ repos: | |||
|   - id: end-of-file-fixer | ||||
|   - id: trailing-whitespace | ||||
|   - id: check-merge-conflict | ||||
|   - id: check-byte-order-marker | ||||
| - repo: https://github.com/fsfe/reuse-tool | ||||
|   rev: v2.1.0 | ||||
|   hooks: | ||||
|  | @ -20,4 +21,10 @@ repos: | |||
|   hooks: | ||||
|   - id: editorconfig-checker | ||||
|     alias: ec | ||||
|     stages: [commit] | ||||
| - repo: https://github.com/compilerla/conventional-pre-commit | ||||
|   rev: v2.4.0 | ||||
|   hooks: | ||||
|   - id: conventional-pre-commit | ||||
|     stages: [commit-msg] | ||||
| ... | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue