Skip to content

Commit 39faebc

Browse files
committed
Update .stylelintrc.yml
1 parent 5a9adc4 commit 39faebc

File tree

1 file changed

+33
-6
lines changed

1 file changed

+33
-6
lines changed

.stylelintrc.yml

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins:
99

1010
rules:
1111

12-
# Specify percentage or number notation for alpha-values.
12+
# Specify percentage or number notation for alpha-values.
1313
alpha-value-notation: number
1414

1515
# Specify a list of disallowed at-rules.
@@ -42,13 +42,22 @@ rules:
4242
- true
4343
-
4444
ignoreAtRules:
45+
- at-root
4546
- each
4647
- else
48+
- debug
49+
- error
50+
- extend
51+
- for
52+
- forward
4753
- function
4854
- if
4955
- include
5056
- mixin
5157
- return
58+
- use
59+
- warn
60+
- while
5261

5362
# Disallow vendor prefixes for at-rules.
5463
at-rule-no-vendor-prefix: true
@@ -116,6 +125,9 @@ rules:
116125
# Disallow empty comments.
117126
comment-no-empty: true
118127

128+
# Specify a pattern for comments.
129+
#comment-pattern:
130+
119131
# Require or disallow whitespace on the inside of comment markers.
120132
comment-whitespace-inside: always
121133

@@ -126,7 +138,7 @@ rules:
126138
#custom-media-pattern:
127139

128140
# Require or disallow an empty line before custom properties (Autofixable).
129-
custom-property-empty-line-before: always
141+
custom-property-empty-line-before: never
130142

131143
# Specify a pattern for custom properties.
132144
#custom-property-pattern:
@@ -137,8 +149,11 @@ rules:
137149
# Require a single space or disallow whitespace before the bang of declarations.
138150
declaration-bang-space-before: always
139151

152+
# Disallow duplicate custom properties within declaration blocks.
153+
declaration-block-no-duplicate-custom-properties: true
154+
140155
# Disallow duplicate properties within declaration blocks.
141-
#declaration-block-no-duplicate-properties: true
156+
#declaration-block-no-duplicate-properties:
142157

143158
# Disallow longhand properties that can be combined into one shorthand property.
144159
declaration-block-no-redundant-longhand-properties: true
@@ -332,6 +347,9 @@ rules:
332347
# Require a single space or disallow whitespace before the commas of media query lists.
333348
media-query-list-comma-space-before: never
334349

350+
# Disallow invalid named grid areas.
351+
named-grid-areas-no-invalid: true
352+
335353
# Disallow selectors of lower specificity from coming after overriding selectors of higher specificity.
336354
#no-descending-specificity: true
337355

@@ -356,6 +374,12 @@ rules:
356374
# Disallow double-slash comments (`//`) which are not supported by CSS.
357375
no-invalid-double-slash-comments: true
358376

377+
# Disallow invalid position `@import` rules within a stylesheet.
378+
#no-invalid-position-at-import-rule:
379+
380+
# Disallow irregular whitespaces.
381+
no-irregular-whitespace: true
382+
359383
# Disallow missing end-of-source newlines.
360384
no-missing-end-of-source-newline: true
361385

@@ -400,6 +424,9 @@ rules:
400424
# Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
401425
selector-attribute-brackets-space-inside: never
402426

427+
# Specify a list of disallowed attribute names.
428+
#selector-attribute-name-disallowed-list:
429+
403430
# Specify a blacklist of disallowed attribute operators.
404431
#selector-attribute-operator-blacklist:
405432

@@ -433,6 +460,9 @@ rules:
433460
# Disallow non-space characters for descendant combinators of selectors.
434461
selector-descendant-combinator-no-non-space: true
435462

463+
# Specify a list of disallowed selectors.
464+
#selector-disallowed-list:
465+
436466
# Specify a pattern for ID selectors.
437467
#selector-id-pattern:
438468

@@ -1058,9 +1088,6 @@ rules:
10581088
# Disallow duplicate mixins within a stylesheet.
10591089
scss/no-duplicate-mixins: true
10601090

1061-
# Disallows the use of global function names, as these global functions are now located inside built-in Sass modules.
1062-
scss/no-global-function-names: true
1063-
10641091
# Disallow linebreaks after Sass operators.
10651092
scss/operator-no-newline-after: true
10661093

0 commit comments

Comments
 (0)