Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?
I use Stylelint with an Electron app where I have to use a few vendor prefixed selectors.
Same as https://github.com/stylelint/stylelint/issues/3007
Which rule, if any, is this issue related to?
selector-no-vendor-prefix
What CSS is needed to reproduce this issue?
input::-webkit-input-placeholder {
color: pink;
}
What stylelint configuration is needed to reproduce this issue?
{
"rules": {
"selector-no-vendor-prefix": true
}
}
Which version of stylelint are you using?
9.1.1
How are you running stylelint: CLI, PostCSS plugin, Node API?
CLI
Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?
No
What did you expect to happen?
I expected these rules to have an ignore option like many other rules have.
What actually happened (e.g. what warnings or errors you are getting)?
The vendor prefixes got reported.
@sindresorhus Thanks for issue, PR welcome :+1:
Anyway i think we should ignore by default all non prefixable selectors
Anyway i think we should ignore by default all non prefixable selectors
I agree. Same with to property-no-vendor-prefix and value-no-vendor-prefix.
Most helpful comment
I agree. Same with to
property-no-vendor-prefixandvalue-no-vendor-prefix.