Closed Jamesernator closed 8 years ago
You're welcome to build and publish a 3rd party rule for this. I don't use CoffeeScript any more, so this is unlikely to get implemented here. If you do implement it make sure to leave a comment here and take a look at https://github.com/clutchski/coffeelint/blob/master/3rd_party_rules.md
I highly recommend replacing CoffeeScript with Babel and CoffeeLint with ESLint. They are better tools that are better supported, and CoffeeScript doesn't appear to have a future as far as I can tell.
this is probably not implementable without hacking it like the indent rule. coffeescript just slurps up the first method in a chained call to the same line as the object callee(?)
CoffeeScript allows this:
but it's almost certainly bad style when you can do things like this:
over this:
My proposed addition to add a rule to prevent spaces after a property access (spaces before the property access are unchanged)