GWicke has uploaded a new change for review. https://gerrit.wikimedia.org/r/107600
Change subject: Tweak jshint config a bit ...................................................................... Tweak jshint config a bit * Don't complain about line breaks in typical conditional formatting. We prefer someLongCondition && anotherLongCondition && anotherLongCondition && anotherLongCondition someLongCondition && anotherLongCondition && anotherLongCondition && anotherLongCondition The trade-off is that return "foo" won't trigger a warning any more despite being parsed as return; "foo"; Change-Id: Ib910e5dd414c798a06327d32ce9a58c6ea46855b --- M .jshintrc 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid refs/changes/00/107600/1 diff --git a/.jshintrc b/.jshintrc index 73f4fdd..c2600f8 100644 --- a/.jshintrc +++ b/.jshintrc @@ -8,6 +8,7 @@ ], "bitwise": true, + "laxbreak": true, "curly": true, "eqeqeq": true, "immed": true, -- To view, visit https://gerrit.wikimedia.org/r/107600 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib910e5dd414c798a06327d32ce9a58c6ea46855b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/parsoid Gerrit-Branch: master Gerrit-Owner: GWicke <gwi...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits