Skip to content

Commit 5efddb5

Browse files
committed
Overrides at-rule-empty-line-before specificaly for SCSS
1 parent a235cb3 commit 5efddb5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

index.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
{
3838
except: ['blockless-after-same-name-blockless', 'first-nested'],
3939
ignore: ['after-comment'],
40-
ignoreAtRules: ['value', 'else'],
40+
ignoreAtRules: ['value'],
4141
},
4242
],
4343
},
@@ -53,6 +53,14 @@ export default {
5353
ignoreAtRules: ['value'],
5454
},
5555
],
56+
'at-rule-empty-line-before': [
57+
'always',
58+
{
59+
except: ['blockless-after-blockless', 'first-nested'],
60+
ignore: ['after-comment'],
61+
ignoreAtRules: ['else', 'value'],
62+
},
63+
],
5664
},
5765
},
5866
],

0 commit comments

Comments
 (0)