X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fdeclaration-block-semicolon-space-before%2FREADME.md;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fdeclaration-block-semicolon-space-before%2FREADME.md;h=50a7d745d554c56de5aafe616942d5404640501b;hb=3c06164f15bd10aed7d66b6314764a2961a14762;hp=0000000000000000000000000000000000000000;hpb=0e9c3ceb40901f4d44981c1376cb9e23a248e006;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/README.md new file mode 100644 index 00000000..50a7d745 --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/README.md @@ -0,0 +1,111 @@ +# declaration-block-semicolon-space-before + +Require a single space or disallow whitespace before the semicolons of declaration blocks. + +```css +a { color: pink; } +/** ↑ + * The space before this semicolon */ +``` + +This rule ignores semicolons that are preceded by Less mixins. + +## Options + +`string`: `"always"|"never"|"always-single-line"|"never-single-line"` + +### `"always"` + +There *must always* be a single space before the semicolons. + +The following patterns are considered violations: + +```css +a { color: pink; } +``` + +```css +a { color: pink; top: 0; } +``` + +The following patterns are *not* considered violations: + +```css +a { color: pink ; } +``` + +```css +a { color: pink ; top: 0 ; } +``` + +### `"never"` + +There *must never* be whitespace before the semicolons. + +The following patterns are considered violations: + +```css +a { color: pink ; } +``` + +```css +a { color: pink ; top: 0 ; } +``` + +The following patterns are *not* considered violations: + +```css +a { color: pink; } +``` + +```css +a { color: pink; top: 0; } +``` + +### `"always-single-line"` + +There *must always* be a single space before the semicolons in single-line declaration blocks. + +The following patterns are considered violations: + +```css +a { color: pink; } +``` + +The following patterns are *not* considered violations: + +```css +a { color: pink ; } +``` + +```css +a { color: pink; top: 0; } +``` + +```css +a { color: pink ; top: 0 ; } +``` + +### `"never-single-line"` + +There *must never* be whitespace before the semicolons in single-line declaration blocks. + +The following patterns are considered violations: + +```css +a { color: pink ; } +``` + +The following patterns are *not* considered violations: + +```css +a { color: pink; } +``` + +```css +a { color: pink; top: 0; } +``` + +```css +a { color: pink ; top: 0 ; } +```