bjankord / stylelint-config-sass-guidelines

⚙ A stylelint config inspired by https://sass-guidelin.es/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mixin parameters are formatted like maps

DennisJohnsen opened this issue · comments

Thank you for this awesome config for stylelint btw. I really needed some perfect settings for formatting my SCSS files.

That said, i'm using Prettier to format using stylelint using this config, but the parameters of mixins are formatted in same fashion as a map.

Expected:

@mixin type-style($style: null, $types: $type-styles, $only-font-size: false, $important: false) {

Actual:

@mixin type-style(
    $style: null,
    $types: $type-styles,
    $only-font-size: false,
    $important: false
) {

Since i know this is a linter, and not formatter i'm hoping im making this issue the right place.

Kind regards
Dennis

I'm sorry for wasting your time. It looks like it's due to the max length of a line before it wraps. I had other mixins that stay'd the same.