From 81dbf8c80aa319484cd666dc7a21dbe167732ea4 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 15 Dec 2016 22:02:10 -0800 Subject: [PATCH] lint: Enforce no external resources in CSS. --- tools/lint-all | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/lint-all b/tools/lint-all index 0208b4d93a..6e7ac6b4ba 100755 --- a/tools/lint-all +++ b/tools/lint-all @@ -346,6 +346,8 @@ def build_custom_checkers(by_lang): 'description': "Missing whitespace after : in CSS"}, {'pattern': '[a-z]{', 'description': "Missing whitespace before '{' in CSS."}, + {'pattern': 'https://', + 'description': "Zulip CSS should have no dependencies on external resources"}, {'pattern': '^[ ][ ][a-zA-Z0-9]', 'description': "Incorrect 2-space indentation in CSS", 'exclude': set(['static/styles/thirdparty-fonts.css']),