coffeelint icon indicating copy to clipboard operation
coffeelint copied to clipboard

Warn on unnecessary explicit return statement.

Open cirosantilli opened this issue 11 years ago • 0 comments

https://github.com/polarmobile/coffeescript-style-guide recommends to only use return if necessary, i.e. not the last thing in the function.

The opposite of: https://github.com/clutchski/coffeelint/pull/30, if implemented here could be under a single return_style: [explicit|implicit|any] option.

cirosantilli avatar Jun 24 '14 18:06 cirosantilli