Ignore comment annotation doesn't work for one-line functions #7
Comments
CoffeeLint comes with a mechanism to do this. I'm not sure why this rule is providing a custom mechanism that no other rule provides. The method below doesn't rely on scopes, it disables between any two lines.
|
I had tried that before but it sadly doesn't work for this rule:
On Sunday, May 17, 2015, Asa Ayers notifications@github.com wrote:
|
oh, this rule isn't warning you around where the error is produced (line 4) above. It's wrapping the error all the way from where the variable was defined. This seems awkward but to use the built in capability to disable a rule you need to use:
CoffeeLint filters based on the first line, which is known for all errors/warnings. implementation I have no control over this project, I'm the maintainer of CoffeeLint. I Sometimes subscribe to rules I don't use just to see what others are doing with CoffeeLint. |
Got it. I believe that, usability-wise, the most common use case is to On Monday, May 18, 2015, Asa Ayers notifications@github.com wrote:
|
The text was updated successfully, but these errors were encountered: