Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / declaration-block-trailing-semicolon / README.md
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/README.md
new file mode 100644 (file)
index 0000000..b654593
--- /dev/null
@@ -0,0 +1,73 @@
+# declaration-block-trailing-semicolon
+
+Require or disallow a trailing semicolon within declaration blocks.
+
+```css
+a { background: orange; color: pink; }
+/**                                ↑
+ *                    This semicolon */
+```
+
+The trailing semicolon is the *last* semicolon in a declaration block and it is optional.
+
+This rule will ignore Less mixins, trailing `//` comments, and declaration blocks containing nested (at-)rules.
+
+## Options
+
+`string`: `"always"|"never"`
+
+### `"always"`
+
+There *must always* be a trailing semicolon.
+
+The following patterns are considered violations:
+
+```css
+a { color: pink }
+```
+
+```css
+a { background: orange; color: pink }
+```
+
+```css
+a { @include foo }
+```
+
+The following patterns are *not* considered violations:
+
+```css
+a { color: pink; }
+```
+
+```css
+a { background: orange; color: pink; }
+```
+
+```css
+a { @include foo; }
+```
+
+### `"never"`
+
+There *must never* be a trailing semicolon.
+
+The following patterns are considered violations:
+
+```css
+a { color: pink; }
+```
+
+```css
+a { background: orange; color: pink; }
+```
+
+The following patterns are *not* considered violations:
+
+```css
+a { color: pink }
+```
+
+```css
+a { background: orange; color: pink }
+```