Releases: jslint-org/jslint
Releases · jslint-org/jslint
v2022.7.20 - fix bug where directive "//jslint-ignore-lines" would suppress legitimate warnings
What's Changed
-
- doc - document jslint directives by @kaizhu256 in #407
-
- bugfix - warnings that should be ignored sometimes suppress legitimate warnings by @kaizhu256 in #409
-
v2022.7.20 by @kaizhu256 in #411
Full Changelog: v2022.6.21...v2022.7.20
v2022.6.21 - add new directive "subscript" to play nice with Google Closure Compiler
What's Changed
- directive - add new directive
subscript
for linting of scripts targeting Google Closure Compiler by @kaizhu256 in #404- warning - relax warning about missing
catch
intry...finally
statement - jslint - allow aliases
evil, nomen
for jslint-directiveseval, name
, respectively for backwards-compat - bugfix - fix broken codemirror example
- warning - relax warning about missing
- bugfix - fix jslint not-recognizing option-chaining when comparing operands of binary operator by @kaizhu256 in #403
- bugfix - fix expression after "await" mis-identified as statement by @kaizhu256 in #405
- allow array-literals to directly call [...].flat() and [...].flatMap()
-
v2022.6.21 by @kaizhu256 in #406
Full Changelog: v2022.5.20...v2022.6.21
v2022.5.20 - add glob wildcards `*, */**, ?, [...]` to exclude/include files in v8-coverage-report
What's Changed
- coverage-report - disable default-coverage of directory
node_modules
, but allow override with cli-option--include-node-modules=1
- coverage-report - add function globExclude() to revamp coverage-report to exclude files using glob-pattern-matching
- add codemirror-example-file jslint_wrapper_codemirror.html
- update codemirror-editor to v5.65.3
- wrapper - add jslint-addon for codemirror
- allow jslint.mjs to auto-export itself to globalThis when given search-param
?window_jslint=1
- wrapper - add jslint-extension for vscode
- bugfix - fix jslint falsely believing megastring literals
0
and1
are similar - bugfix - fix function jstestOnExit() from exiting prematurely and suppressing additional error-messages
Full Changelog: v2022.3.30...v2022.5.20
v2022.3.30 - add numeric-separator support
What's Changed
- website - use localStorage to persist jslint-options selected in ui
- website - add optional debug-mode to use sessionStorage to persist jslint-globals and jslint-source from ui
- jslint - add numeric-separator support
- jslint - move regexp-literals to module-level so they are explicitly cached, to improve performance
- ci - add check for package.json.fileCount
Full Changelog: v2022.2.20...v2022.3.30
v2022.2.20 - cleanup fat-arrow related warnings
What's Changed
- test - migrate all tests to use jstestDescribe(), jstestIt()
- fs - rename jslint-wrapper-files to jslint_wrapper_xxx.xxx
- bugfix - fix issue #382 - make fart-related warnings more readable
- bugfix - fix issue #382 - fix warnings against destructured fart
- bugfix - fix issue #379 - warn against naked-statement in fart.
- update commonjs-wrapper jslint.cjs to load jslint in strict-mode.
Full Changelog: v2021.12.20...v2022.2.20
v2021.12.20 - publish @jslint-org/jslint as dual-module
What's Changed
- npm - add file jslint.cjs so package @jslint-org/jslint can be published as dual-module
- jslint - relax warning "function_in_loop"
- update function assertJsonEqual to JSON.stringify 3rd param if its an object
Full Changelog: v2021.11.20...v2021.12.20
v2021.11.20 - add top-level-await support
What's Changed
- jslint - add top-level-await support
- ci - deprecate/remove jslint.cjs from ci
- coverage - add cli-options
--exclude=aa,bb
,--exclude-node-modules=false
,--include=aa,bb
- coverage - dedupe coverage-logic now applied when only one script passed
- npm - add file .npmignore
- website - add clickable-links to editor-code in report-warnings and report-functions
Full Changelog: v2021.10.20...v2021.11.20
v2021.10.20 - add cli-command v8_coverage_report - and - npm publish to @jslint-org/jslint
What's Changed
- ci - add release-trigger to publish to
@jslint-org/jslint
- bugfix - fix coverage-report having incorrect http-link to index.html
- bugfix - fix false warning
uninitialized 'bb'
in code/*jslint node*/\nlet {aa:bb} = {}; bb();
- bugfix - fix issue #358 - switch-statement crashes jslint
- ci - cache coverage-example node-sqlite3 to speed up ci
- ci - rename dir .build/ to .artifact/
- ci - update shell-function shRunWithCoverage() to reduce size of string/argument passed to nodejs by using 2-space-indent
- cli - add cli-command jslint_plugin_vim
- cli - add cli-command v8_coverage_report
- cli - change cli-option
--mode-report
to cli-commandjslint_report=<filename>
- coverage - relax requirement for coverageDir to be in cwd
- deprecated - cli - add cli-option
--mode-report
- doc - add api-documentation
- fs - merge file asset_codemirror_rollup.css into index.html
- fs - merge file browser.mjs into index.html
- fs - merge file function.html into help.html
- fs - remove little-used font asset_font_programma_bold.woff2
- fs - rename files with dashes to files with underscore
- jslint - disable linting of embedded javascript in markdown-files
- jslint - relax regexp-warning against using 'space'
- npm - add file package.json and command
npm test
- style - change naming-convention for non-jslint-core code from underscore to camelCase
- test - add mocha-like test-functions jstestDescribe, jstestIt
Full Changelog: v2021.9.20...v2021.10.20
v2021.9.20 - jslint - add bigint support
- jslint - add bigint support.
- vim - add vim-plugin and file jslint.vim.
- doc - auto-generate toc for README.md
- jslint - rename little-used directive
debug
totrace
to avoid confusion with non-related directivedevel
.
v2021.8.20 - warning - disable un-ergonomic warnings restricting directive-global (missing_browser and unexpected_directive_a).
- warning - disable un-ergonomic warnings restricting directive-global (missing_browser and unexpected_directive_a).
- fs - rename file ci.sh to jslint_ci.sh.
- license - add codemirror license to rollup-assets.
- website - display number of warnings, properties, functions in report.
- website - fix uiLoader getting hidden behind highlighted text.