matype/stylefmt

declaration indentation broken inside of at statements

Closed this issue · 0 comments

this seems to have happened as part of 2053c7c

.stylelintrc:

{
  "extends": [
    "stylelint-config-standard",
    "stylelint-config-css-modules"
  ],
  "plugins": "stylelint-scss",
}

input:

@media (min-width: $screen-iphone5) and (max-width: ($screen-iphone6 - 1)) {
  border-left-color: transparent;
  border-left-width: 0;

   a {
     padding-left: 0;
     padding-right: 0;
   }
}

output:

@media (min-width: $screen-iphone5) and (max-width: ($screen-iphone6 - 1)) {
  border-left-color: transparent;
  border-left-width: 0;

  a {
  padding-left: 0;
  padding-right: 0;
  }
}

i'm looking into it now.