1
-
2
1
/** @type {import('stylelint').Config } */
3
2
export default {
4
3
'extends' : 'stylelint-config-standard' ,
@@ -14,7 +13,7 @@ export default {
14
13
'**/*.js' ,
15
14
'**/*.ts' ,
16
15
'public/**/*.css' ,
17
- 'node_modules/**/*.css'
16
+ 'node_modules/**/*.css' ,
18
17
] ,
19
18
'rules' : {
20
19
'no-duplicate-selectors' : true ,
@@ -38,15 +37,20 @@ export default {
38
37
'font-weight-notation' : 'numeric' ,
39
38
'font-family-name-quotes' : 'always-where-recommended' ,
40
39
'comment-whitespace-inside' : 'always' ,
41
- 'at-rule-no-vendor-prefix' : true ,
42
- 'rule-empty-line-before' : [
40
+ 'comment-empty-line-before' : [
43
41
'always' , {
44
42
'except' : [
45
- 'after-single-line-comment' ,
46
43
'first-nested'
47
44
]
48
45
}
49
46
] ,
47
+ 'at-rule-no-vendor-prefix' : true ,
48
+ 'rule-empty-line-before' : [ 'always' , {
49
+ 'except' : [
50
+ 'after-single-line-comment' ,
51
+ 'first-nested'
52
+ ]
53
+ } ] ,
50
54
'selector-pseudo-element-colon-notation' : 'double' ,
51
55
'selector-no-vendor-prefix' : true ,
52
56
'media-feature-name-no-vendor-prefix' : true ,
@@ -67,6 +71,8 @@ export default {
67
71
'no-descending-specificity' : null ,
68
72
'shorthand-property-no-redundant-values' : null ,
69
73
'declaration-block-no-redundant-longhand-properties' : null ,
70
- 'color-function-notation' : 'modern'
74
+ 'color-function-notation' : 'modern' ,
75
+ 'at-rule-no-deprecated' : null ,
76
+ 'no-invalid-position-at-import-rule' : null ,
71
77
}
72
78
}
0 commit comments