Skip to content

v0.6.0

Latest

Choose a tag to compare

@jolars jolars released this 22 Jun 11:19
· 10 commits to main since this release
879ebf0

Features

  • cli: add global --color, --quiet, --verbose flags (1bef2ae)
  • cli: add completions and init subcommands (ea055bc)
  • cli: lint reads stdin, drop no-op --check flag (5237c95)
  • config: add top-level exclude/default-exclude file filtering (8a3c661)
  • config: add format.line-ending (auto/lf/crlf/native) (033937a)
  • linter: add unreachable-code rule (after return()/stop()) (52eb74b)
  • linter: add any-duplicated rule (any(duplicated(x)) -> anyDuplicated(x) > 0) (e3d6348)
  • linter: add any-is-na rule (any(is.na(x)) -> anyNA(x)) (3d8590d)
  • linter: add comparison-negation and outer-negation rules (caeda1a)
  • roxygen: format embedded R in @examples bodies (8715ad4)
  • roxygen: hanging-indent reflow of tag prose (8e52c62)
  • roxygen: reflow prose to line width (b5e92c5)
  • linter: add vector-logic rule (&/| -> &&/|| in conditions) (2e74063)
  • linter: add repeat rule (while (TRUE) -> repeat) (93cff91)
  • formatter: normalize roxygen marker + single space (52b96f6)
  • parser: parse roxygen doc comments into the CST (23fe61f)
  • linter: generate rule docs from rule metadata (e8ef3db)
  • lsp: add pull diagnostics support (e8da220)
  • lsp: add call hierarchy support (24d52f3)
  • lint: add true-false-symbol rule (1a37cfa)

Bug Fixes

  • formatter: preserve trailing blank lines in roxygen examples (7ca4fd1)
  • parser: bind unary ! looser than comparison operators (a386bc4)
  • formatter: handle comments in if/while conditions (5ba6f02), fixes #37