mirror of https://github.com/zulip/zulip.git
lint: Enforce no external resources in CSS.
This commit is contained in:
parent
105ef7caae
commit
81dbf8c80a
|
@ -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']),
|
||||
|
|
Loading…
Reference in New Issue