Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

v4.0.0-dev.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@adidahiya adidahiya released this 04 Oct 19:31
· 397 commits to next since this release

v4.0.0-dev.0

  • BREAKING CHANGES
    • [enhancement] Drop support for configuration via package.json (#1579)
    • [removed-rule] Removed no-duplicate-key rule; covered by compiler (#1109)
    • [enhancement] Call formatter once for all file results. Format output may be different (#656)
    • [rule-change] trailing-comma supports function declarations, expressions, and types (#1486)
    • [rule-change] object-literal-sort-keys now sorts quoted keys (#1529)
    • [rule-change] semicolon now processes type aliases (#1475)
    • [rule-change] no-var-keyword now rejects export var statements (#1256)
    • [rule-change] semicolon now requires semicolon for function declaration with no body (#1447)
  • [new-formatter] fileslist formatter writes a list of files with errors without position or error type specifics (#1558)
  • [new-rule] cyclomaticComplexity, enforces a threshold of cyclomatic complexity.] (#1464)
  • [new-rule] prefer-for-of, which errors when for(var x of y) can be used instead of for(var i = 0; i < y.length; i++) (#1335)
  • [new-rule] array-type, which can require using either `T[]' or 'Array' for arrays (#1498)
  • [rule-change] object-literal-sort-keys checks multiline objects only (#1642)
  • [rule-change] ban rule now can ban global functions (#327)
  • [bugfix] always write lint result, even if using formatter (#1353)
  • [bugfix] npm run test:bin fails on Windows (#1635)
  • [bugfix] Don't enforce trailing spaces on newlines in typedef-whitespace rule (#1531)
  • [bugfix] jsdoc rule should not match arbitrary comments (#1543)
  • [bugfix] one-line rule errors when declaring wildcard ambient modules (#1425)

Thanks to our contributors!

  • Alex Eagle
  • Andrii Dieiev
  • Andy Hanson
  • Ben Coveney
  • Boris Aranovich
  • Chris Barr
  • Christian Dreher
  • Claas Augner
  • Josh Goldberg
  • Martin Probst
  • Mike Deverell
  • Nina Hartmann
  • Satoshi Amemiya
  • Scott Wu
  • Steve Van Opstal
  • Umar Bolatov
  • Vladimir Matveev
  • Yui