@jslint-org/jslint 2026.4.30 → 2026.7.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/CHANGELOG.md +75 -5
  2. package/README.md +303 -221
  3. package/jslint.mjs +3353 -2683
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,11 +1,81 @@
1
1
  # Changelog
2
2
 
3
3
  # Todo
4
- - jslint - bugfix - Fix false-positive Unused-variable when variable is used in function argument-default.
5
- - doc - document supported/unsupported es6+ features
6
- - jslint - add html and css linting back into jslint.
7
- - jslint - add new warning requiring paren around plus-separated concatenations.
8
- - jslint - try to improve parser to be able to parse jquery.js without stopping.
4
+ - jslint-ecma - Add ES2018-feature Asynchronous Iteration.
5
+ - jslint-ecma - Add ES2015-feature iterators.
6
+ - jslint - Audit token-property '.free'.
7
+ - jslint-ecma - Expand ES2015-feature-support for es-module-export-statement.
8
+ - jslint - Relax warning expected_line_break_a_b for ternary-operator inside template-literal.
9
+ - jslint - Add ability to auto-fix whitespace.
10
+ - jslint - Add html and css linting back into jslint.
11
+ - jslint - Add new warning requiring paren around plus-separated concatenations.
12
+ - jslint - Try to improve parser to be able to parse jquery.js without stopping.
13
+
14
+ # v2026.7.30
15
+ - jslint-ecma - Add ES2015-feature for..of.
16
+ - jslint - Disable directive-option /*jslint for*/, replacing it with for-loop specific warnings.
17
+ - jslint - Update scope-related warnings for variables, depending on whether they are let/const (scope_block) or var (scope_function).
18
+ - jslint - Change warning 'out_of_scope_a' to 'temporal_dead_zone_a'.
19
+ - jslint - Change warning 'uninitialized_a' to 'unassigned_var_a'.
20
+ - jslint - Change scope from scope_function to scope_block:
21
+ - const-declaration
22
+ - let-declaration
23
+ - function-declaration
24
+ - jslint - Add implicit scope_block for:
25
+ - do-while
26
+ - for-loop
27
+ - if-else
28
+ - while-loop
29
+ - jslint - Add hidden scope_block for:
30
+ - catch-variable
31
+ - for-variable
32
+ - function-parameter
33
+ - label-name
34
+ - jslint - Restrict scope from scope_function to its own function-body:
35
+ - named-function-expression
36
+ - jslint - Rename internal scope-variables to imporove readability of scope-logic:
37
+ - 'blockage' to 'scope_block'
38
+ - 'functionage' to 'scope_function'
39
+ - jslint - Add block-scope to internal-function jslint_phase3_parse().
40
+ - jslint - Expand built-in-globals for browser, ecma, and node - auto-generated from online-sources.
41
+ - jslint-ci - Add automated ci for shellcheck to lint shell-scripts.
42
+ - jslint-regression - Cleanup indent for multiline-method-chaining.
43
+ - jslint-regression - Fix jslint crashing before warning about dangling ')' or ']'.
44
+ - jslint-parse - Fix jslint unable to continue parsing 'async aa => 0'.
45
+ - jslint-parse - Fix jslint unable to continue parsing 'function aa(){}0'.
46
+ - jslint-regression - Fix long-running regression where 'let x = x;' doesn't warn about temporal-dead-zone.
47
+ - jslint-warning - Tighten warning of unused variables to be always on, regardless of module / nodejs mode.
48
+ - jslint - Wrap all property-updates 'name.init = true/false' with calls to:
49
+ name_declare() - 'let aa=0'
50
+ post_a_assignment() - 'aa=0'
51
+
52
+ # v2026.6.30
53
+ - jslint-ecma - Update README.md, documenting supported ES2015+ features.
54
+ - jslint-ecma - Unify ES2015-destructure-logic into function prefix_destructure().
55
+ - jslint-ci - Add shell-function shGithubPrUpdatePrxxx() to auto-update 'PR-xxx' placeholder to next sequential github issue/pull number.
56
+ - jslint-ci - Rename shell-functions shGitPullrequestXxx() to shGithubPrXxx().
57
+ - jslint - Update warning infix_in to recommend Object.hasOwn() over hasOwnProperty().
58
+ - jslint-ecma - Add ES2025-feature RegExp Modifiers.
59
+ - jslint-ecma - Add ES2022-feature RegExp Match Indices.
60
+ - jslint-ecma - Add ES2021-feature Logical Assignment Operators.
61
+ - jslint-ecma - Add ES2027-feature Temporal.
62
+ - jslint-ecma - Expand ES2015-feature-support for destructuring.
63
+ - jslint-ecma - Add ES2018-feature Rest/Spread Properties.
64
+ - jslint-ecma - Add ES2018-feature s (dotall) flag for regular expressions.
65
+ - jslint-ecma - Expand ES2015-feature-support for es-module-import-statement.
66
+ - jslint-ecma - Add ES2023-feature ShadowRealm to global-scope.
67
+ - jslint-ecma - Add ES2024-feature .isWellFormed(), .toWellFormed() for literal string.
68
+ - jslint-ecma - Add ES2022-feature .at() for literal string/array.
69
+ - jslint-ecma - Add ES2025-feature Float16Array to global-scope.
70
+ - jslint-ecma - Relax warning for ES2025-feature RegExp.escape().
71
+ - jslint-ecma - Add ES2021-feature WeakRef to global-scope.
72
+ - jslint-ecma - Update ES2015-feature arrow, to continue parsing unwrapped-form with warning, instead of stopping.
73
+ - jslint - Relax warning on multiline-method-chaining.
74
+ - jslint - Replace all non-return 'stop(...);' with 'return stop(...)'.
75
+ - jslint - Unify ES2018-syntax-spread-operator with function prefix_ellipsis().
76
+ - jslint - Add ES2018-syntax for object-literal-spread-operator.
77
+ - jslint - Add ES2025-syntax 'import ... with {...}'.
78
+ - jslint - Allow more methods to be called on literal strings and arrays; make allowed methods for . and ?. consistent.
9
79
 
10
80
  # v2026.4.30
11
81
  - github-ci - Pin various github-runner-os to stable/lts version.