@@ -21,7 +21,7 @@ Here is a full list in the same order they are applied while processing css:
2121- [ space-after-opening-brace] ( #space-after-opening-brace )
2222- [ space-before-selector-delimiter] ( #space-before-selector-delimiter )
2323- [ space-after-selector-delimiter] ( #space-after-selector-delimiter )
24- - [ space-after-declaration ] ( #space-after-declaration )
24+ - [ space-between-declarations ] ( #space-between-declarations )
2525- [ block-indent] ( #block-indent )
2626- [ sort-order-fallback] ( #sort-order-fallback )
2727- [ sort-order] ( #sort-order )
@@ -36,7 +36,7 @@ Following options are ignored while processing `*.sass` files:
3636- space-before-opening-brace
3737- space-after-opening-brace
3838- space-before-closing-brace
39- - space-after-declaration
39+ - space-between-declarations
4040
4141
4242## always-semicolon
@@ -504,21 +504,21 @@ p >
504504 a { color : panda; }
505505```
506506
507- ## space-after-declaration
507+ ## space-between-declarations
508508
509- Set space after declaration (i.e. ` color: tomato ` ).
509+ Set space between declarations (i.e. ` color: tomato ` ).
510510
511511Acceptable values:
512512
513513* ` {Number} ` — number of whitespaces;
514514* ` {String} ` — string with whitespaces, tabs or line breaks.
515515
516- Example: ` { 'space-after-declaration ': 1 } `
516+ Example: ` { 'space-between-declarations ': 1 } `
517517
518518``` scss
519519// Before:
520520a {
521- color : panda;
521+ color : panda; /* comment */
522522 top : 0 ;
523523 /* comment */
524524 right : 0 ;
@@ -527,11 +527,13 @@ a {
527527
528528// After:
529529a {
530- color : panda; top : 0 ; /* comment */
531- right : 0 ; position : absolute }
530+ color : panda; /* comment */ top : 0 ;
531+ /* comment */
532+ right : 0 ; position : absolute
533+ }
532534```
533535
534- Example: ` { 'space-after-declaration ': '\n ' } `
536+ Example: ` { 'space-between-declarations ': '\n ' } `
535537
536538``` scss
537539// Before:
542544a {
543545 color : panda;
544546 top : 0 ;
545- right : 0 ;
546- }
547+ right : 0 ;}
547548```
548549
549550
0 commit comments