linter-sass-lint icon indicating copy to clipboard operation
linter-sass-lint copied to clipboard

Atom freezes on class-name-format option

Open fullfs opened this issue 7 years ago • 3 comments

  • 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

fullfs avatar Oct 25 '17 13:10 fullfs

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

DanPurdy avatar Oct 25 '17 13:10 DanPurdy

@DanPurdy Okay, thanks.

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

fullfs avatar Oct 25 '17 13:10 fullfs

Awesome thank you

DanPurdy avatar Oct 25 '17 13:10 DanPurdy