Setup gitlint for developers to write well formatted commit messages. Note: .gitlint, gitlint-rules.py and lint-commits are taken directly from zulip/zulip with minor changes.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			388 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			388 B
		
	
	
	
		
			Text
		
	
	
	
	
	
# This file is copied from the original .gitlint at zulip/zulip.
 | 
						|
# Please don't edit here; instead update the zulip/zulip copy and then resync this file.
 | 
						|
 | 
						|
[general]
 | 
						|
ignore=title-trailing-punctuation, body-min-length, body-is-missing
 | 
						|
extra-path=tools/gitlint-rules.py
 | 
						|
 | 
						|
[title-match-regex]
 | 
						|
regex=^(.+:\ )?[A-Z].+\.$
 | 
						|
 | 
						|
[title-max-length]
 | 
						|
line-length=76
 | 
						|
 | 
						|
[body-max-line-length]
 | 
						|
line-length=76
 |