Enable ignore:start and ignore:end comments to exclude arbitrary CSS from linting
Like JSHint ignore:start and ignore:end comments.
Recently needed this for unknown properties that we wanted to use.
:+1:
That would be great. I add normalize.css at the start of my LESS files and keep on getting some errors which I would like to suppress only for that.
For those of us who work on browsers themselves, this would be tremendously helpful.
I'm open to a PR. Is this how JSHint does it?
On Wed, Jan 7, 2015 at 5:19 AM, Christian Wygoda [email protected] wrote:
That would be great. I add normalize.css at the start of my LESS files and keep on getting some errors which I would like to suppress only for that.
Reply to this email directly or view it on GitHub: https://github.com/CSSLint/csslint/issues/558#issuecomment-69002894
I added the required functionality but can't push while on the train. There are no tests yet but I'll open a PR later today for early comments.
@stubbornella Yes, http://jshint.com/blog/new-in-jshint-oct-2013/ is the blog post introducing that feature.
Ignore comments would be a great feature.
Any chance this gets merged soon?
+1
+1!
+1
+1
+1
+1
+1