AtomLinter / linter-sass-lint

A plugin for the Atom linter to interface with sass-lint - the all node scss/Sass linter
https://atom.io/packages/linter-sass-lint
MIT License
23 stars 9 forks source link

Atom freezes on class-name-format option #194

Open fullfs opened 6 years ago

fullfs commented 6 years ago

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 commented 6 years ago

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

fullfs commented 6 years ago

@DanPurdy Okay, thanks.

P.S. https://github.com/sasstools/sass-lint/issues/1154

DanPurdy commented 6 years ago

Awesome thank you