JSLint v2021.6.12 Release Notes

    • ๐Ÿ›  bugfix - fix await expression/statement inside catch-statement not registered by functionage.await.
    • ๐Ÿ›  bugfix - fix cli appending slash "/" to normalized filename.
    • ๐Ÿ›  bugfix - fix issue #316, #317 - jslint complains about dynamic-import.
    • ๐Ÿ›  bugfix - fix misleading warning describing alphabetical-order instead of ascii-order.
    • ๐Ÿ›  bugfix - fix off-by-one-column bug in missing-semicolon-warning.
    • ๐Ÿ›  bugfix - fix try-catch-block complaining about "Unexpected await" inside async-function.
    • ๐Ÿ‘• directive - re-introduce /*jslint name*/ to ignore "Bad property name" warning.
    • doc - add install-screenshots.
    • ๐Ÿ‘• jslint - add new warning if case-statements are not sorted.
    • ๐Ÿ‘• jslint - add warning for unexpected ? in example aa=/.{0}?/.
    • ๐Ÿ‘• jslint - add warning for unexpected-expr in example async function aa(){await 0;}.
    • ๐Ÿ”จ jslint-refactor-1 - make "stateful" variables scoped outside of jslint() "stateless" by moving them into jslint().
    • ๐Ÿ”จ jslint-refactor-2 - inline constants anticondition, bitwiseop, escapeable, and opener directly into code.
    • ๐Ÿ”จ jslint-refactor-3 - inline regexp-functions quantifier(), ranges(), klass(), choice(), directly into code.
    • ๐Ÿ”จ jslint-refactor-4 - document jslint process and each recursion-loop converted to while-loop.
      • remove unnecessary variables nr.
      • rename artifact-related variables a, b to let artifact_now, artifact_nxt.
      • rename functions make() to token_create().
      • reorganize/rename "global" variables by topical-prefixes: artifact_xxx, export_xxx, from_xxx, import_xxx, line_xxx, mode_xxx, token_xxx
    • ๐Ÿ”จ jslint-refactor-5 - split jslint-core-logic into 5-phases.
      • move phase-sub-functions out of function-jslint().
      • move global-vars into state-object, that can be passed between functions.
      • migrate recursive-loops to while-loops in sub-function phase2_lex().
      • move remaining global-vars into sub-functions or hardcode.
      • update functions artifact(), stop(), warn() with fallback-code the_token = the_token || state.token_nxt;.
    • ๐Ÿ’ป website - add ui-loader-animation.