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

Crash - Error running stylelint Error: Column start (11) greater than line length (0) for line 8 #578

Open
@aubreyz

Description

@aubreyz

linter-stylelint crashes on some code in a very obscure way. This does not appear to be due to stylelint itself as the same code does not misbehave with stylelint directly.

Produced by this semi-minimal code below in the atom style.less

The crash can be prevented by apparently unrelated changes to the code
a) Removing just the bracketed word (don't) in the comment
b) Reducing the first double line space to a single line space (but not the second double line space)
c) Deleting the whole 4 line block at the end starting ul
d) deleting just the ' in the commented word don't although this is clearly not the only cause of the error as the ' can be retained without error with other deletions.

The line numbers reported do not seem to relate to anything and with longer code do not point to anywhere apparently related

On version 13.6.1, Windows 10

Probably related to #176 which was not resolved it seems

atom-text-editor.editor {
  .line-number.foldable .icon-right {
    visibility: visible;
  }


}
// NOTE: atom-text-editor, color various stuff (don't)

atom-text-editor {
  .invisible-character {
    color: yellow;
  }

  .syntax--punctuation.syntax--definition.syntax--comment {
    color: #008C3F;
  }
}


ul.tab-bar > li.tab[is='tabs-tab'].active,
ul.tab-bar > li.tab[is='tabs-tab'].active > div.title {
  color: white;
}

Clipboard-20200720

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions