Open JulianWielga opened 8 years ago
I'll be on the road for the day so I haven't tried this out yet but do the tests actually cover everything? Specifically I'm worried about chained calls such that...
startingChain()
.hello()
.world()
.today((x) -> x + 2)
Specifically .hello
is indented with 4 spaces, .world
and .today
are indented with a tab. My guess(?) is that this may fail because coffeescript slurps the newline\spaces before .hello
so it's on the same line as startingChain().
I'll be able to test this more later on, either tonight or after the weekend.
I added this to @coffeelint/cli in https://github.com/coffeelint/coffeelint/pull/7. Thanks!
Adds no_spaces rule. Related to #135