jscs-dev/node-jscs — pull request #811 by jdlrobson (2014-12-05 02:11:24+00:00)
Title: Add exceptions for require-padding-newlines-before-keyword

1) var x = {
foo: function {}
};

2) watchlist.on( "watch", function () {} );
3) Router.prototype.getPath = function () {};
4) (function ( $ ) {} )( jQuery );
These should all not report errors.

Fixes: #779