Skip to content

v2021.5.27 - add directive `/*jslint unordered*/` to tolerate unordered properties and params.

Compare
Choose a tag to compare
@kaizhu256 kaizhu256 released this 28 May 17:15
· 237 commits to master since this release
f6a0008
  • ci - fix expectedWarningCode not being validated.
  • ci - in windows, disable git-autocrlf.
  • deadcode - replace with assertion-check in function are_similar() - "if (a === b) { return true }".
  • deadcode - replace with assertion-check in function are_similar() superseded by id-check - "if (Array.isArray(b)) { return false; }".
  • deadcode - replace with assertion-check in function are_similar() superseded by is_weird() check - "if (a.arity === "function" && a.arity ===...c".
  • jslint - add directive test_internal_error.
  • jslint - add directive unordered to tolerate unordered properties and params.
  • jslint - inline-document each warning with cause that can reproduce it - part 1.
  • style - refactor code moving infix-operators from post-position to pre-position in multiline statements.
  • website - add hotkey ctrl-enter to run jslint.