mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	linter: Add rule against misspelled "Terms of Service".
This commit is contained in:
		@@ -354,6 +354,8 @@ def build_custom_checkers(by_lang):
 | 
			
		||||
         'description': "Organization is spelled with a z"},
 | 
			
		||||
        {'pattern': '!!! warning',
 | 
			
		||||
         'description': "!!! warning is invalid; it's spelled '!!! warn'"},
 | 
			
		||||
        {'pattern': 'Terms of service',
 | 
			
		||||
         'description': "The S in Terms of Service is capitalized"},
 | 
			
		||||
    ]  # type: RuleList
 | 
			
		||||
    html_rules = whitespace_rules + prose_style_rules + [
 | 
			
		||||
        {'pattern': 'placeholder="[^{]',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user