【发布时间】:2019-06-04 17:58:25
【问题描述】:
我对 Style Lint 有疑问。我已将 selector-max-specificity 设置为 0,2,0 并忽略了一些规则:ignoreSelectors: [":focus", ":hover", etc..]
现在,我想忽略 :not(.myClass) 选择器,但这不起作用:(
例如,我有这个名字的班级:.track a:not(.track-visual)
我尝试过使用正则表达式选择器"/:not\\(.*\\)/" 甚至"/.*:not\\(.*\\)/"
但没有机会:'(
如果您有解决方案,我很感兴趣 :) 谢谢
【问题讨论】: