X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fselector-max-combinators%2FREADME.md;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fselector-max-combinators%2FREADME.md;h=0000000000000000000000000000000000000000;hb=3ddadb3c98564791f0ac36cb39771d844a63dc91;hp=b0ddfb92b8fc299bcb80792c4eafce1085afe115;hpb=5f797af6612ed10887189b47a1efc2f915586e59;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/selector-max-combinators/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/selector-max-combinators/README.md deleted file mode 100644 index b0ddfb92..00000000 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/selector-max-combinators/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# selector-max-combinators - -Limit the number of combinators in a selector. - -```css - a > b + c ~ d e { color: pink; } -/** ↑ ↑ ↑ ↑ - * These are combinators */ -``` - -This rule resolves nested selectors before counting the number of combinators selectors. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. - -## Options - -`int`: Maximum combinators selectors allowed. - -For example, with `2`: - -The following patterns are considered violations: - -```css -a b ~ c + d {} -``` - -```css -a b ~ c { - & > d {} -} -``` - -```css -a b { - & ~ c { - & + d {} - } -} -``` - -The following patterns are *not* considered violations: - -```css -a {} -``` - -```css -a b {} -``` - -```css -a b ~ c {} -``` - -```css -a b { - & ~ c {} -} -``` - -```css -/* each selector in a selector list is evaluated separately */ -a b, -c > d {} -```