File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -170,3 +170,19 @@ $ratios:
170
170
4 3 ,
171
171
3 2 ,
172
172
16 9 ;
173
+
174
+ @mixin hardcode-total-height ($base-height , $extra-height : 0px ) {
175
+ height : calc ($base-height + $extra-height );
176
+ }
177
+
178
+ a {
179
+ @include hardcode-total-height (10px );
180
+ }
181
+
182
+ @function add-numbers ($number-a , $number-b : 0px ) {
183
+ @return calc ($number-a + $number-b )
184
+ }
185
+
186
+ div {
187
+ width : add-numbers (10px );
188
+ }
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ module.exports = {
12
12
} ,
13
13
] ,
14
14
'import-notation' : 'string' ,
15
+ 'length-zero-no-unit' : [
16
+ true ,
17
+ {
18
+ ignore : [ 'custom-properties' ] ,
19
+ ignorePreludeOfAtRules : [ 'function' , 'mixin' ] ,
20
+ } ,
21
+ ] ,
15
22
'scss/at-else-closing-brace-newline-after' : 'always-last-in-chain' ,
16
23
'scss/at-else-closing-brace-space-after' : 'always-intermediate' ,
17
24
'scss/at-else-empty-line-before' : 'never' ,
You can’t perform that action at this time.
0 commit comments