csslint icon indicating copy to clipboard operation
csslint copied to clipboard

Enable ignore:start and ignore:end comments to exclude arbitrary CSS from linting

Open samdutton opened this issue 11 years ago • 14 comments

Like JSHint ignore:start and ignore:end comments.

Recently needed this for unknown properties that we wanted to use.

samdutton avatar Dec 09 '14 13:12 samdutton

:+1:

tschwartz avatar Dec 18 '14 19:12 tschwartz

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.

cwygoda avatar Jan 07 '15 10:01 cwygoda

For those of us who work on browsers themselves, this would be tremendously helpful.

dmose avatar Jan 08 '15 00:01 dmose

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

stubbornella avatar Jan 08 '15 03:01 stubbornella

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.

cwygoda avatar Jan 08 '15 12:01 cwygoda

@stubbornella Yes, http://jshint.com/blog/new-in-jshint-oct-2013/ is the blog post introducing that feature.

dmose avatar Jan 13 '15 23:01 dmose

Ignore comments would be a great feature.

Any chance this gets merged soon?

simbo avatar Jun 09 '15 07:06 simbo

+1

rodriguezmanu avatar Jun 10 '15 00:06 rodriguezmanu

+1!

adamkudrna avatar Sep 15 '15 15:09 adamkudrna

+1

Pikktee avatar Oct 12 '15 20:10 Pikktee

+1

Keysox avatar Oct 21 '15 17:10 Keysox

+1

Jamie452 avatar Oct 22 '15 16:10 Jamie452

+1

yppeaxy avatar Dec 14 '15 19:12 yppeaxy

+1

selkhateeb avatar Dec 17 '15 02:12 selkhateeb