Download:
child 106:64250e7006bc
parent 104:809ad2845e50
105:32449588afcf
Anton Shestakov <av6@dwimlabs.net>, Tue, 05 Jul 2016 07:26:52 +0800
incoming: match jshint-style error/warning codes (at EOL)

1 файлов изменено, 6 вставок(+), 0 удалений(-) [+]
incoming.py file | annotate | diff | comparison | revisions
--- a/incoming.py Mon Jul 04 19:30:20 2016 +0800
+++ b/incoming.py Tue Jul 05 07:26:52 2016 +0800
@@ -53,8 +53,14 @@
(r'^[EWFCN]\d{3}', 'warning'),
(r'^\[error\]', 'error'),
(r'^\[warning\]', 'warning'),
+
+ # luacheck
(r'^\(E\d{3}\)', 'error'),
(r'^\(W\d{3}\)', 'warning'),
+
+ # jshint
+ (r'.* \(E\d{3}\)$', 'error'),
+ (r'.* \(W\d{3}\)$', 'warning'),
)
for regex, cls in patterns: