You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'declaration-property-unit-whitelist': null, // Set to null to disable rule and to avoid deprecation warning.
'declaration-property-unit-allowed-list': {
'line-height': [ 'px' ],
},
This works in CLI and VSCode, but Atom for some reason produces an Expected option value for rule "declaration-property-unit-allowed-list" 1:1 error.
The text was updated successfully, but these errors were encountered:
I was getting the stylelint error in Atom: Expected option value for rule "declaration-property-value-disallowed-list", in a 100% completely unrelated project to this, but stumbled upon this solution from a random Google search. Updating linter-stylint's stylelint dependency to 13.8.0, as suggested here, fixed the problem for me. So thanks!
The rule is defined in
stylelint-config-wordpress
and is already fixed since WordPress-Coding-Standards/stylelint-config-wordpress#267 but no new version has been release yet, see WordPress-Coding-Standards/stylelint-config-wordpress#268.The warning can be removed by using
This works in CLI and VSCode, but Atom for some reason produces an
Expected option value for rule "declaration-property-unit-allowed-list" 1:1
error.The text was updated successfully, but these errors were encountered: