|
14 | 14 |
|
15 | 15 | rules: |
16 | 16 |
|
| 17 | + # Enforce the use of the use of quotes in attribute values. |
| 18 | + attribute-quotes: 1 |
| 19 | + |
17 | 20 | # Enforce how many elements a BEM selector can contain. |
18 | 21 | bem-depth: |
19 | 22 | - 1 |
@@ -110,18 +113,27 @@ rules: |
110 | 113 | - 1 |
111 | 114 | - max-depth: 4 |
112 | 115 |
|
| 116 | + # Disallow the use of attribute selectors. |
| 117 | + no-attribute-selectors: 0 |
| 118 | + |
113 | 119 | # Enforce the use of hexadecimal color values rather than literals. |
114 | | - no-color-keyword: 1 |
| 120 | + no-color-keywords: 1 |
115 | 121 |
|
116 | 122 | # Disallow the use of color literals and basic color functions in any declarations other than variables or maps/lists. |
117 | 123 | no-color-literals: 0 |
118 | 124 |
|
| 125 | + # Disallow the use of combinators. |
| 126 | + no-combinators: 0 |
| 127 | + |
119 | 128 | # Enforce the use of Sass single-line comments and disallow CSS comments. |
120 | 129 | no-css-comments: 0 |
121 | 130 |
|
122 | 131 | # Enforce that `@debug` statements are not allowed to be used. |
123 | 132 | no-debug: 1 |
124 | 133 |
|
| 134 | + # Disallow the use of certain properties. |
| 135 | + no-disallowed-properties: 0 |
| 136 | + |
125 | 137 | # Enforce that duplicate properties are not allowed within the same block. |
126 | 138 | no-duplicate-properties: 0 |
127 | 139 |
|
@@ -159,6 +171,9 @@ rules: |
159 | 171 | # Enforce whether the keyword all can be used with the `transition` or `transition-property` property. |
160 | 172 | no-transition-all: 1 |
161 | 173 |
|
| 174 | + # Disallow the use of `*` (universal) selectors. |
| 175 | + no-universal-selectors: 0 |
| 176 | + |
162 | 177 | # Enforce that protocols and domains are not used within URLs. |
163 | 178 | no-url-protocols: 1 |
164 | 179 |
|
@@ -202,7 +217,7 @@ rules: |
202 | 217 | } |
203 | 218 |
|
204 | 219 | # Enforce that pseudo-elements must start with double colons, pseudo-classes must start with single colon. |
205 | | - #pseudo-element: 1 TODO: UPCOMING RULE |
| 220 | + pseudo-element: 1 |
206 | 221 |
|
207 | 222 | # Enforce whether single quotes or double quotes should be used for all strings. |
208 | 223 | quotes: |
|
0 commit comments