Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Atom freezes on class-name-format option #194

Open
fullfs opened this issue Oct 25, 2017 · 3 comments
Open

Atom freezes on class-name-format option #194

fullfs opened this issue Oct 25, 2017 · 3 comments

Comments

@fullfs
Copy link

fullfs commented Oct 25, 2017

  • Atom version: 1.20.1
  • linter-sass-lint version: 1.8.3
  • Platform: Linux

class-name-format in the listed below format cases Atom to freeze on file opening and saving.

.sass-lint.yml content

files:
  include: '**/*.scss'
options:
  formatter: stylish
  merge-default-rules: false
rules:
  bem-depth:
    - 1
    - max-depth: 2
  border-zero:
    - 2
    - convention: 0
  brace-style:
    - 2
    - allow-single-line: false
  declarations-before-nesting:
    - 2
  class-name-format:
    - 1
    - convention: strictbem

scss file content

.n1-price-list-table__column-description_media-ads__column-description {
    padding-left: 10px;
}

removing class-name-format option solves the freezing

@DanPurdy
Copy link
Member

This will be a problem in sass-lint itself. Would you mind opening this issue there?

@fullfs
Copy link
Author

fullfs commented Oct 25, 2017

@DanPurdy
Okay, thanks.

P.S. sasstools/sass-lint#1154

@DanPurdy
Copy link
Member

Awesome thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants