Skip to content

Commit 1dc47ab

Browse files
committed
REDME: Add example output.
1 parent 1725496 commit 1dc47ab

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,27 @@ optional arguments:
8484
--fix Automatically fix problems where supported
8585
```
8686

87+
88+
**Example Output**
89+
90+
```
91+
❯ ./tools/lint
92+
js | Use channel module for AJAX calls at static/js/channel.js line 81:
93+
js | const jqXHR = $.ajax(args);
94+
py | avoid subject as a var at zerver/lib/email_mirror.py line 321:
95+
py | # strips RE and FWD from the subject
96+
py | Please use access_message() to fetch Message objects at zerver/worker/queue_processors.py line 579:
97+
py | message = Message.objects.get(id=event['message_id'])
98+
py | avoid subject as a var at zerver/lib/email_mirror.py line 327:
99+
py | Use do_change_is_admin function rather than setting UserProfile's is_realm_admin attribute directly. at file.py line 28:
100+
py | user.is_realm_admin = True
101+
puppet | /usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
102+
hbs | Avoid using the `style=` attribute; we prefer styling in CSS files at static/templates/group_pms.hbs line 6:
103+
hbs | <span class="user_circle_fraction" style="background:hsla(106, 74%, 44%, {{fraction_present}});"></span>
104+
pep8 | tools/linter_lib/custom_check.py:499:13: E121 continuation line under-indented for hanging indent
105+
pep8 | tools/linter_lib/custom_check.py:500:14: E131 continuation line unaligned for hanging indent
106+
```
107+
87108
### pre-commit hook mode
88109

89110
See https://github.com/zulip/zulip/blob/master/tools/pre-commit for an

0 commit comments

Comments
 (0)