From be903382f80a2b0d16ec89186af2a67fbd7d33d4 Mon Sep 17 00:00:00 2001 From: deekshaarul Date: Sat, 22 Oct 2016 02:44:39 +0530 Subject: [PATCH] lint: Add rule to check for misspellings of 'GitHub'. --- tools/lint-all | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/lint-all b/tools/lint-all index 7a3290f0ea..104b87e780 100755 --- a/tools/lint-all +++ b/tools/lint-all @@ -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="[^{]',