.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / selector-attribute-operator-whitelist / README.md
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/README.md
new file mode 100644 (file)
index 0000000..6944ae9
--- /dev/null
@@ -0,0 +1,47 @@
+# selector-attribute-operator-whitelist
+
+Specify a whitelist of allowed attribute operators.
+
+```css
+[target="_blank"] {}
+/**    ↑
+ * These operators */
+```
+
+## Options
+
+`array|string`: `["array", "of", "operators"]|"operator"`
+
+Given:
+
+```js
+[ "=", "|=" ]
+```
+
+The following patterns are considered violations:
+
+```css
+[class*="test"] {}
+```
+
+```css
+[title~="flower"] {}
+```
+
+```css
+[class^="top"] {}
+```
+
+The following patterns are *not* considered violations:
+
+```css
+[target] {}
+```
+
+```css
+[target="_blank"] {}
+```
+
+```css
+[class|="top"] {}
+```