Max-Warnings Config Issue
See original GitHub issueWhich version of lesshint
are you using? 2.4.0
How are you running lesshint
? CLI, Node.js API, Grunt/Gulp plugin?
CLI for testing. package.json run command in Node.js app
What’s your .lesshintrc
configuration? Default
If you’re reporting a bug, please show us some code that’s failing. `lesshint --max-warnings=-1 ./path_to/styles/
What did you expect to happen? I was expecting my build to succeed regardless of how many warnings I had.
What’s the actual result?
I get an exit code of 1 and I received the following error when I ran the previous code:
error: unknown options '-1'
While I could use a positive integer for the time being, it would be nice to know what I am doing incorrectly to receive this error or for it to be corrected to work as expected.
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (7 by maintainers)
Top GitHub Comments
@shellscape That is actually a lot better than what I was thinking. I’ll get a PR submitted with the fix and test updates.
@Venomknight257 I guess congratulations on the baby is in order then!
I filed a PR in #334 with the suggested changes, hope that’s alright with you. I look forward to any future future contributions from you!