镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

EOL error on Windows and CRLF with SASS mixins #593

Open

Description

@Storm203

When using CSSComb on a SASS file that has multiple includes in a single selector, in a file on Windows that is using CRLF for EOL, the indenting gets all buggy:

Before CSSComb:

#created_by_container{
	@include display-flex;
	@include flex-direction(column);
	@include justify-content(center);
	@include align-items(center);
}

After CSSComb:

#created_by_container{
	@include display-flex;

@include flex-direction(column);

@include justify-content(center);

@include align-items(center);
}

This does not occur when using LF only, however there is no git option to check out CRLF as LF and then commit back as CRLF (only the reverse exists).

Activity

  1. tonyganch commented on Mar 24, 2019

    @tonyganch
    Member

    Possibly the same issue as #592

  2. jdalton commented on Apr 19, 2019

    @jdalton
    Contributor

    Related to #367.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions