Skip to content

CrossLint 0.4.5

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 00:48
· 88 commits to trunk since this release

Changed

  • A configuration or a plugin.kdl that isn't valid KDL stops CrossLint with a message in new words, the first fault that the KDL reader finds, at the line where that reader places it, as isn't valid KDL: Unexpected newline in single-line quoted string. A block left open, as in plugin "angular" { with no }, is reported at the line of its {. Before, the message had the words of the kdl gem, and named the line where the file ended.

Fixed

  • A configuration or a plugin.kdl with a /* comment that is never closed stops CrossLint with exit status 2 and says the file isn't valid KDL, in --help and in every command. Before, CrossLint never finished, and Ctrl-C was the only way to stop it. The message names line 1, wherever the comment starts.
  • A configuration or a plugin.kdl that ends inside a string, right after a backslash, is reported at the line of the string. Before, the message named the file and no line.
  • A space or a comment after a closing }, as in } // note, which KDL 2 allows, reads as KDL 2 says. Before, CrossLint said the file isn't valid KDL, at the line of the brace.