Skip to content

Commit

Permalink
lint: Add rule to check for misspellings of 'GitHub'.
Browse files Browse the repository at this point in the history
  • Loading branch information
deekshaarul authored and timabbott committed Oct 23, 2016
1 parent 16c3da6 commit be90338
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/lint-all
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ def build_custom_checkers(by_lang):
prose_style_rules = [
{'pattern': '[^\/\#\-\"]([jJ]avascript)', # exclude usage in hrefs/divs
'description': "javascript should be spelled JavaScript"},
{'pattern': '[^\/\-\.\"\']([gG]ithub)[^\.\-\_\"]', # exclude usage in hrefs/divs
'description': "github should be spelled GitHub"},
] # type: RuleList
html_rules = whitespace_rules + prose_style_rules + [
{'pattern': 'placeholder="[^{]',
Expand Down

0 comments on commit be90338

Please sign in to comment.