diff --git a/tools/lint-all b/tools/lint-all index 3ca9215afd..6a509b9d08 100755 --- a/tools/lint-all +++ b/tools/lint-all @@ -172,6 +172,10 @@ js_rules = [ 'exclude': set(['tools/lint-all']), 'description': 'Argument to compose_error should be a literal string enclosed ' 'by i18n.t()'}, + {'pattern': 'report_success\(["\']', + 'exclude': set(['tools/lint-all']), + 'description': 'Argument to report_success should be a literal string enclosed ' + 'by i18n.t()'}, ] + whitespace_rules python_rules = [ {'pattern': '^(?!#)@login_required',