Closed jgautheron closed 9 years ago
No, there is no way to ignore a custom-property --- that's an oversight. Let's see if I can fix it now before breakfast ...
If you could make it work with ignoreSelectors
that would be awesome, then I could simply use:
ignoreSelectors: /^\-\-paper\-/
:dart:
@jgautheron Please try the master branch and verify that it works. Should handle postcss-bem-linter: ignore
above the declaration and an ignoreCustomProperties
regexp. If master works for you, we'll release it.
It works fine, with both the inline ignore, and the ignoreCustomProperties
. Thanks!
@jgautheron Excellent. Will publish a new release in a second here.
2.3.0
:+1:
Custom component selectors can be ignored but custom property names cannot.
Quick example:
11:3 ⚠ Invalid custom property name "--paper-menu-background-color": a component's custom properties must start with the component name [postcss-bem-linter]
The first is properly ignored, the second is not. Is there any other way to ignore custom property names?