@@ -39,8 +39,11 @@ rules:
3939 - true
4040 -
4141 ignoreAtRules :
42+ - function
43+ - if
4244 - include
4345 - mixin
46+ - return
4447
4548 # Disallow vendor prefixes for at-rules.
4649 at-rule-no-vendor-prefix : true
6467 block-closing-brace-newline-before : always-multi-line
6568
6669 # Require a single space or disallow whitespace after the closing brace of blocks.
67- block-closing-brace-space-after : always-single-line
70+ # block-closing-brace-space-after:
6871
6972 # Require a single space or disallow whitespace before the closing brace of blocks.
7073 block-closing-brace-space-before : always-single-line
7679 block-opening-brace-newline-after : always-multi-line
7780
7881 # Require a newline or disallow whitespace before the opening brace of blocks.
79- block-opening-brace-newline-before : never-single-line
82+ # block-opening-brace-newline-before:
8083
8184 # Require a single space or disallow whitespace after the opening brace of blocks.
8285 block-opening-brace-space-after : always-single-line
@@ -262,11 +265,7 @@ rules:
262265 max-empty-lines : 3
263266
264267 # Limit the length of a line.
265- max-line-length :
266- - 80
267- -
268- ignore :
269- - non-comments
268+ # max-line-length:
270269
271270 # Limit the depth of nesting.
272271 max-nesting-depth : 4
@@ -344,7 +343,7 @@ rules:
344343 no-missing-end-of-source-newline : true
345344
346345 # Disallow unknown animations.
347- no-unknown-animations : true
346+ # no-unknown-animations: true
348347
349348 # Require or disallow a leading zero for fractional numbers less than 1.
350349 number-leading-zero : always
@@ -439,10 +438,10 @@ rules:
439438 selector-max-class : 4
440439
441440 # Limit the number of combinators in a selector.
442- selector-max-combinators : 3
441+ selector-max-combinators : 4
443442
444443 # Limit the number of compound selectors in a selector.
445- selector-max-compound-selectors : 4
444+ selector-max-compound-selectors : 5
446445
447446 # Limit the number of adjacent empty lines within selectors.
448447 selector-max-empty-lines : 0
@@ -556,15 +555,25 @@ rules:
556555 # SMACSS-like property order rules (stylelint-order plugin).
557556 order/properties-order :
558557
558+ # Heading.
559+
560+ - content
561+ - quotes
562+
559563 # Box.
560564
561565 - display
566+ - visibility
567+
562568 - position
569+ - z-index
563570 - top
564571 - right
565572 - bottom
566573 - left
567574
575+ - box-sizing
576+
568577 - flex
569578 - flex-basis
570579 - flex-direction
@@ -581,7 +590,6 @@ rules:
581590 - width
582591 - min-width
583592 - max-width
584-
585593 - height
586594 - min-height
587595 - max-height
@@ -601,7 +609,12 @@ rules:
601609 - float
602610 - clear
603611
604- - resize
612+ - overflow
613+ - overflow-x
614+ - overflow-y
615+
616+ - clip
617+ - zoom
605618
606619 - columns
607620 - column-gap
@@ -611,23 +624,39 @@ rules:
611624 - column-count
612625 - column-width
613626
614- - grid-gap
615- - grid-template-columns
627+ - table-layout
628+ - empty-cells
629+ - caption-side
630+ - border-spacing
631+ - border-collapse
632+ - list-style
633+ - list-style-position
634+ - list-style-type
635+ - list-style-image
616636
617- - animation
618- - animation-name
619- - animation-timing-function
637+ # Animation.
620638
621639 - transform
622- - transform-box
623640 - transform-origin
624641 - transform-style
642+ - backface-visibility
643+ - perspective
644+ - perspective-origin
625645
626646 - transition
627- - transition-delay
628- - transition-duration
629647 - transition-property
648+ - transition-duration
630649 - transition-timing-function
650+ - transition-delay
651+
652+ - animation
653+ - animation-name
654+ - animation-duration
655+ - animation-play-state
656+ - animation-timing-function
657+ - animation-delay
658+ - animation-iteration-count
659+ - animation-direction
631660
632661 # Border.
633662
@@ -666,77 +695,91 @@ rules:
666695 - outline-style
667696 - outline-width
668697
698+ - stroke-width
699+ - stroke-linecap
700+ - stroke-dasharray
701+ - stroke-dashoffset
702+ - stroke
703+
669704 # Background.
670705
706+ - ' opacity'
707+
671708 - background
672- - background-attachment
673- - background-clip
674709 - background-color
675710 - background-image
676711 - background-repeat
677712 - background-position
678713 - background-size
679-
714+ - box-shadow
680715 - fill
681716
682- - opacity
683-
684717 # Text.
685718
686719 - color
687720
688721 - font
689722 - font-family
690723 - font-size
691- - font-smoothing
724+ - font-size-adjust
725+ - font-stretch
726+ - font-effect
692727 - font-style
693728 - font-variant
694729 - font-weight
695730
731+ - font-emphasize
732+ - font-emphasize-position
733+ - font-emphasize-style
734+
696735 - letter-spacing
697736 - line-height
698737 - list-style
738+ - word-spacing
699739
700740 - text-align
741+ - text-align-last
701742 - text-decoration
702743 - text-indent
744+ - text-justify
703745 - text-overflow
746+ - text-overflow-ellipsis
747+ - text-overflow-mode
704748 - text-rendering
749+ - text-outline
705750 - text-shadow
706751 - text-transform
707752 - text-wrap
753+ - word-wrap
754+ - word-break
708755
756+ - text-emphasis
757+ - text-emphasis-color
758+ - text-emphasis-style
759+ - text-emphasis-position
760+
761+ - vertical-align
709762 - white-space
710763 - word-spacing
764+ - hyphens
711765
712- # Cursor.
713-
714- - cursor
715- - pointer-events
716- - user-select
766+ - src
717767
718768 # Other.
719769
720- - appearance
721- - border-collapse
722- - border-spacing
723- - box-shadow
724- - box-sizing
725- - caption-side
726- - content
770+ - tab-size
771+ - counter-reset
772+ - counter-increment
773+ - resize
727774 - cursor
728- - empty-cells
729- - overflow
730- - overflow-x
731- - overflow-y
732- - quotes
775+ - pointer-events
733776 - speak
734- - table-layout
735- - vertical-align
736- - visibility
737- - will-change
738- - z-index
739-
777+ - user-select
778+ - nav-index
779+ - nav-up
780+ - nav-right
781+ - nav-down
782+ - nav-left
740783
741784 # Additonal SCSS rules (stylelint-scss plugin).
742785
@@ -764,9 +807,6 @@ rules:
764807 # Disallow duplicate dollar variables within a stylesheet.
765808 scss/no-duplicate-dollar-variables : true
766809
767- # Require a media feature value be a `$`-variable or disallow `$`-variables in media feature values.
768- scss/media-feature-value-dollar-variable : always
769-
770810 # Disallow linebreaks after Sass operators.
771811 scss/operator-no-newline-after : true
772812
0 commit comments