Questions tagged [coffeelint]

CoffeeLint is a style checker that helps keep CoffeeScript code clean and consistent.

7 questions
9
votes
1 answer

Modify coffeelint rule on code by comment

Is it possible to add some comment to ignore or modify coffeeling rules on a certain block (indented)? I use the rule for max 80 columns on script, but I have some string values for a objetc that surpasses that value, and break the lines will make…
paulodiovani
  • 1,208
  • 2
  • 16
  • 34
3
votes
2 answers

How to fix error as implicit braces are forbidden by coffee-lint checking tool?

I have simple CoffeeScript code that is working well when integrated with jQuery. But coffee-lint code checking tool shows the following error coffeelint file.coffee Implicit braces are forbidden. My code is $ -> $("#selector").dialog …
Eric Chan
  • 1,192
  • 4
  • 16
  • 30
0
votes
1 answer

CoffeeLint: Disable Warning message: Line exceeds maximum allowed length

I'm trying to disable the warning message from CoffeLint in visual studio code. I've changed the coffeelint.json in my user folder to have the following: "max_line_length": { "name": "max_line_length", "level": "ignore" }, But this has…
Mr.B
  • 397
  • 5
  • 16
0
votes
1 answer

Coffeelint says I have implicit parens?

Coffeelint is telling me I have implicit parens. I'm trying to find what is causing this error. #309: Implicit parens are forbidden. Here's my code: ((factory) -> if typeof module == 'object' and module.exports module.exports = factory …
Camden Clark
  • 85
  • 1
  • 6
0
votes
1 answer

Trying to get Gulp coffeelint to work with coffeelint-stylish

I'm trying to apply stylish error logs to coffeelint, but it doesn't seem to be appearing correctly. I get the following error when I try to apply the plugin Error in plugin 'gulp-coffeelint' Message: coffeelint-stylish is not a valid…
0
votes
1 answer

Coffeelint indentation in Web Essentials 2013

I have 4 space indentation in my coffee files and when I am compiling those I am getting errors: CoffeeLint: YourFile.coffee compilation failed: CoffeeLint: Line contains inconsistent indentation; context: Expected 2 got 4 I found that…
Vladimirs
  • 8,232
  • 4
  • 43
  • 79
0
votes
1 answer

Is there a benefit to running JSLint if I've already run CoffeeLint?

Should I use JSLint on my CoffeeScript project when I'm already running CoffeeLint on all the files? I don't think this question is subjective. Here would be objective reasons not to: Does CoffeeLint already run JSLint? If yes, that would make…
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356