Closed yfr closed 9 years ago
I've created a gist for this. When i run the code in the gist i didn't get any kind of error. Can you check this example?
Are you still having trouble with this issue? Can you test the gist above on your system using grunt-lintspaces?
Oh man, this is embarrassing!
This was just a stupid typo on my side. Sorry for that!
Ah ok. I feel better now. Just saw that it's not entirely my fault. The Readme is not correct. The examples are using the ignores
option but i had to use ignore
.
I tried to fix this in a fork but there are to much ignores/ignore options. I don't really know where to start ...
After a deeper look into the code I didn't found any discrepancies to the documentation.
The option is called: ignores
. Take a look into the default values of lintspaces.
When i use
the ignored comments are counted as new lines. And i get an newlineMaximum error.
Example code:
When i use the settings like above an
newlineMaximum
error raises. If i remove the first comment, the second comment then becomes the error.What can i do?