Fix false positives for jQuery CSS function in value-keyword-case #4919
Labels
status: ready to implement
is ready to be worked on by someone
syntax: css-in-js
relates to JS objects & template literals
type: bug
a problem with a feature or rule
upstream
relates to an upstream package
In this example in a javascript file, stylelint is changing
slidesToShow
toslidestoshow
Which rule, if any, is the bug related to?
value-keyword-case
What stylelint configuration is needed to reproduce the bug?
e.g.
Which version of stylelint are you using?
13.3.3
How are you running stylelint: CLI, PostCSS plugin, Node.js API?
stylelint command line and vscode extension (atom extension does not seem to lint js files)
Does the bug relate to non-standard syntax (e.g. SCSS, Less etc.)?
no
I'm not sure what the best solution is for this. Can stylelint be smart enough to only apply this rule to strings in this case of an object of styles?
The text was updated successfully, but these errors were encountered: