Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
lint: Fix linter excludes for 'realm' in /help/.
Tim Abbottc9063870d077
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex 2d460c29d8b..383e5a4640b 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -893,12 +893,12 @@ help_markdown_rules = RuleList("pattern": r"\b[rR]ealm[s]?\b","include_only": {"templates/zerver/help/"},"exclude": {"templates/zerver/help/change-organization-url.md"},- # Keycloak uses the term realm as well.- "exclude_pattern": "[Kk]eycloak","good_lines": ["Organization", "deactivate_realm", "realm_filter"],"bad_lines": ["Users are in a realm", "Realm is the best model"],"description": "Realms are referred to as Organizations in user-facing docs.",- "exclude_pattern": "-realm-",+ # Keycloak uses the term realm as well.+ # Additionally, we allow -realm- as that appears in /api/ doc URLs.+ "exclude_pattern": "(-realm-|[kK]eycloak)",},],length_exclude=markdown_docs_length_exclude,