Can I Turn Off CSS No Duplicate Error Messages

Is it possible to turn off the [no-duplicate-selectors] error message for CSS files?

@teodor, is there an answer to this?

Can you please show and example of such an error and when/where does it appear exactly?

So I realise what the message is telling me… but I sometimes have duplicate entries when I am experimenting with things, and having all these messages listed as errors makes it hard to see any real syntax errors!

No, it’s not possible to disable this.

Thanks Teodor.

You can disable linting by adding the comment /* stylelint-disable */ .
Enabling it again later in the css is done with /* stylelint-enable */.

2 Likes

Thanks @patrick!