Commit 8dfdf62
committed
# v2026.7.30
- jslint-ecma - Add ES2015-feature for..of.
- jslint - Disable directive-option /*jslint for*/, replacing it with for-loop specific warnings.
- jslint - Update scope-related warnings for variables, depending on whether they are let/const (scope_block) or var (scope_function).
- jslint - Change warning 'out_of_scope_a' to 'temporal_dead_zone_a'.
- jslint - Change warning 'uninitialized_a' to 'unassigned_var_a'.
- jslint - Change scope from scope_function to scope_block:
- const-declaration
- let-declaration
- function-declaration
- jslint - Add implicit scope_block for:
- do-while
- for-loop
- if-else
- while-loop
- jslint - Add hidden scope_block for:
- catch-variable
- for-variable
- function-parameter
- label-name
- jslint - Restrict scope from scope_function to its own function-body:
- named-function-expression
- jslint - Rename internal scope-variables to imporove readability of scope-logic:
- 'blockage' to 'scope_block'
- 'functionage' to 'scope_function'
- jslint - Add block-scope to internal-function jslint_phase3_parse().
- jslint - Expand built-in-globals for browser, ecma, and node - auto-generated from online-sources.
- jslint-ci - Add automated ci for shellcheck to lint shell-scripts.
- jslint-regression - Cleanup indent for multiline-method-chaining.
- jslint-regression - Fix jslint crashing before warning about dangling ')' or ']'.
- jslint-parse - Fix jslint unable to continue parsing 'async aa => 0'.
- jslint-parse - Fix jslint unable to continue parsing 'function aa(){}0'.
- jslint-regression - Fix long-running regression where 'let x = x;' doesn't warn about temporal-dead-zone.
- jslint-warning - Tighten warning of unused variables to be always on, regardless of module / nodejs mode.
- jslint - Wrap all property-updates 'name.init = true/false' with calls to:
name_declare() - 'let aa=0'
post_a_assignment() - 'aa=0'1 parent 4563300 commit 8dfdf62
7 files changed
Lines changed: 75 additions & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
| 247 | + | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
427 | 426 | | |
428 | 427 | | |
429 | 428 | | |
430 | 429 | | |
431 | | - | |
| 430 | + | |
432 | 431 | | |
433 | | - | |
| 432 | + | |
434 | 433 | | |
435 | 434 | | |
436 | | - | |
| 435 | + | |
437 | 436 | | |
438 | | - | |
| 437 | + | |
439 | 438 | | |
440 | 439 | | |
441 | 440 | | |
| |||
460 | 459 | | |
461 | 460 | | |
462 | 461 | | |
463 | | - | |
| 462 | + | |
464 | 463 | | |
465 | 464 | | |
466 | 465 | | |
467 | | - | |
| 466 | + | |
468 | 467 | | |
469 | 468 | | |
470 | 469 | | |
| |||
494 | 493 | | |
495 | 494 | | |
496 | 495 | | |
497 | | - | |
| 496 | + | |
498 | 497 | | |
499 | 498 | | |
500 | 499 | | |
| |||
637 | 636 | | |
638 | 637 | | |
639 | 638 | | |
640 | | - | |
| 639 | + | |
641 | 640 | | |
642 | 641 | | |
643 | 642 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
1068 | 1068 | | |
1069 | 1069 | | |
1070 | 1070 | | |
1071 | | - | |
| 1071 | + | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
| 413 | + | |
416 | 414 | | |
417 | 415 | | |
418 | 416 | | |
419 | 417 | | |
420 | | - | |
421 | | - | |
422 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
423 | 424 | | |
424 | 425 | | |
425 | | - | |
426 | | - | |
427 | 426 | | |
428 | 427 | | |
429 | | - | |
| 428 | + | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
2980 | 2980 | | |
2981 | 2981 | | |
2982 | 2982 | | |
2983 | | - | |
| 2983 | + | |
2984 | 2984 | | |
2985 | 2985 | | |
2986 | 2986 | | |
| |||
2996 | 2996 | | |
2997 | 2997 | | |
2998 | 2998 | | |
2999 | | - | |
| 2999 | + | |
3000 | 3000 | | |
3001 | 3001 | | |
3002 | 3002 | | |
3003 | 3003 | | |
3004 | | - | |
| 3004 | + | |
3005 | 3005 | | |
3006 | 3006 | | |
3007 | 3007 | | |
| |||
3011 | 3011 | | |
3012 | 3012 | | |
3013 | 3013 | | |
3014 | | - | |
| 3014 | + | |
3015 | 3015 | | |
3016 | 3016 | | |
3017 | 3017 | | |
| |||
3873 | 3873 | | |
3874 | 3874 | | |
3875 | 3875 | | |
3876 | | - | |
| 3876 | + | |
3877 | 3877 | | |
3878 | 3878 | | |
3879 | 3879 | | |
| |||
3910 | 3910 | | |
3911 | 3911 | | |
3912 | 3912 | | |
3913 | | - | |
| 3913 | + | |
3914 | 3914 | | |
3915 | 3915 | | |
3916 | 3916 | | |
3917 | 3917 | | |
3918 | 3918 | | |
3919 | | - | |
| 3919 | + | |
3920 | 3920 | | |
3921 | 3921 | | |
3922 | 3922 | | |
3923 | 3923 | | |
3924 | | - | |
| 3924 | + | |
3925 | 3925 | | |
3926 | 3926 | | |
3927 | 3927 | | |
3928 | 3928 | | |
3929 | 3929 | | |
3930 | 3930 | | |
3931 | | - | |
| 3931 | + | |
3932 | 3932 | | |
3933 | 3933 | | |
3934 | 3934 | | |
| |||
4702 | 4702 | | |
4703 | 4703 | | |
4704 | 4704 | | |
4705 | | - | |
| 4705 | + | |
| 4706 | + | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
4706 | 4710 | | |
4707 | 4711 | | |
4708 | 4712 | | |
| |||
10794 | 10798 | | |
10795 | 10799 | | |
10796 | 10800 | | |
10797 | | - | |
| 10801 | + | |
10798 | 10802 | | |
10799 | | - | |
| 10803 | + | |
10800 | 10804 | | |
10801 | | - | |
| 10805 | + | |
10802 | 10806 | | |
10803 | 10807 | | |
10804 | 10808 | | |
| |||
10825 | 10829 | | |
10826 | 10830 | | |
10827 | 10831 | | |
10828 | | - | |
| 10832 | + | |
10829 | 10833 | | |
10830 | 10834 | | |
10831 | 10835 | | |
10832 | 10836 | | |
10833 | | - | |
| 10837 | + | |
10834 | 10838 | | |
10835 | 10839 | | |
10836 | 10840 | | |
| |||
10865 | 10869 | | |
10866 | 10870 | | |
10867 | 10871 | | |
10868 | | - | |
| 10872 | + | |
10869 | 10873 | | |
10870 | | - | |
| 10874 | + | |
10871 | 10875 | | |
10872 | 10876 | | |
10873 | 10877 | | |
10874 | 10878 | | |
10875 | 10879 | | |
10876 | 10880 | | |
10877 | | - | |
| 10881 | + | |
10878 | 10882 | | |
10879 | 10883 | | |
10880 | 10884 | | |
| |||
0 commit comments