Skip to content

Files

Latest commit

 

History

History
39 lines (27 loc) · 441 Bytes

File metadata and controls

39 lines (27 loc) · 441 Bytes

selector-attribute-operator-blacklist

指定禁用的属性运算符的黑名单。

[target="_blank"] {}
/**    ↑
 * 这个运算符 */

选项

array|string: ["array", "of", "operators"]|"operator"

给定:

[ "*=" ]

以下模式被视为违规:

[class*="test"] {}

以下模式被视为违规:

[target] {}
[target="_blank"] {}
[class|="top"] {}