Daniel Rosenwasser
|
db10caef80
|
Add missing nextLine entry to whitespace, remove unnecessary branches.
|
2024-07-02 19:27:39 +00:00 |
|
Daniel Rosenwasser
|
9e5e29fd33
|
More rename.
|
2024-07-02 19:17:39 +00:00 |
|
Daniel Rosenwasser
|
11a24a7c77
|
TokenInfo -> TokenCategory
|
2024-07-02 19:14:36 +00:00 |
|
Daniel Rosenwasser
|
d5898b5b80
|
Use Debug.fail to avoid a call.
|
2024-07-02 18:59:25 +00:00 |
|
Daniel Rosenwasser
|
af340b7156
|
Flip condition for readabiity (avoids indentation).
|
2024-07-02 17:30:08 +00:00 |
|
Daniel Rosenwasser
|
9830671eef
|
Check for CR, LF, space, and tab before doing the lookup.
|
2024-07-02 08:36:09 +00:00 |
|
Daniel Rosenwasser
|
811526d993
|
Moved everything outside of identifier handling to use a lookup.
|
2024-07-02 08:14:03 +00:00 |
|
Daniel Rosenwasser
|
a087c2415b
|
Fixes.
|
2024-07-02 08:13:04 +00:00 |
|
Daniel Rosenwasser
|
e8769ca541
|
Handle digits.
|
2024-07-02 07:48:48 +00:00 |
|
Daniel Rosenwasser
|
f43891898a
|
Use an array for common cases.
|
2024-07-02 07:37:12 +00:00 |
|
Daniel Rosenwasser
|
e6de1d9e61
|
Create a lookup table on token info to avoid excessive branching.
|
2024-07-02 05:59:03 +00:00 |
|
Lars Kappert
|
752135eb40
|
Remove unused exports & dead code (using Knip) (#56817)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
|
2024-06-27 14:24:01 -07:00 |
|
Daniel Rosenwasser
|
4935e14901
|
Use more explicit operations in core helpers (and other nits) (#58873)
|
2024-06-18 16:00:00 -07:00 |
|
graphemecluster
|
f5238c328e
|
Provide Spelling Suggestions for Named Capture Group References in Regular Expressions (#58613)
|
2024-06-04 13:47:58 -07:00 |
|
graphemecluster
|
dc1ffb1648
|
Correct regular expression flags scanning for non-BMP characters (#58612)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
|
2024-06-04 13:45:00 -07:00 |
|
graphemecluster
|
3aaa614bb9
|
Fix: Include Values of Script Extensions for Unicode Property Value Expressions in Regular Expressions (#58615)
|
2024-05-31 16:15:45 -04:00 |
|
Ron Buckton
|
4c233f1ca4
|
In reScanSlashToken use charCodeChecked not codePointChecked (#58727)
|
2024-05-31 16:08:06 -04:00 |
|
graphemecluster
|
0cc62c3007
|
Correct Regular Expressions Behavior Related to Annex B (#58320)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
|
2024-05-29 16:14:10 -04:00 |
|
graphemecluster
|
d0ef028841
|
Improve Recovery of Unterminated Regular Expressions (#58289)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
|
2024-05-24 15:46:26 -04:00 |
|
Wesley Wigham
|
8111503772
|
Update unicode identifier start/part with more recent unicode version (#58521)
|
2024-05-13 11:14:34 -07:00 |
|
Jake Bailey
|
16beff101a
|
Use explicit extensions for imports within src (#58421)
|
2024-05-06 17:07:54 -07:00 |
|
Ron Buckton
|
cd566bad95
|
RegExp syntax checking performance (#58339)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
|
2024-04-29 15:12:36 -04:00 |
|
Jake Bailey
|
8d2e2d53c2
|
Move RegExp flag version mapping to LanguageFeatureMinimumTarget (#58311)
|
2024-04-25 15:22:21 -07:00 |
|
Daniel Rosenwasser
|
ed87791dd9
|
Rephrase error messages on backrererences. (#58310)
|
2024-04-24 21:59:53 -07:00 |
|
Ron Buckton
|
e28ad995d1
|
Report RegExp errors in grammar check, use Annex B grammar (#58295)
|
2024-04-24 19:16:05 -04:00 |
|
形素叢集・ぐらふぃーむ
|
42f238bfbb
|
Provide Syntax Checking for Regular Expressions (#55600)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
|
2024-04-19 16:51:08 -07:00 |
|
Jake Bailey
|
967d6189a6
|
Add lint error for declarations marked internal, but unexported (#58229)
|
2024-04-17 13:52:31 -07:00 |
|
Jake Bailey
|
0dd12da165
|
Error on replacement character only in top-level scanning (#58227)
|
2024-04-17 11:34:00 -07:00 |
|
Mateusz Burzyński
|
9ba0800646
|
Fixed braceless type tags with types starting with an open parenthesis (#57167)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
|
2024-04-05 15:38:53 -07:00 |
|
Oleksandr T
|
2de69b09c5
|
feat(41825): JSDoc equivalent of import * (#57207)
|
2024-03-26 13:52:43 -07:00 |
|
Jake Bailey
|
65de938e4e
|
Remove target=es3 (#57525)
|
2024-02-27 11:40:18 -08:00 |
|
Jake Bailey
|
ad2f465a38
|
Detect binary files by checking first 256 code units for 0xFFFD (#57008)
|
2024-01-16 16:15:23 -08:00 |
|
Jake Bailey
|
a3c5d5d37e
|
Make JSDoc skipping public, plus more configurable (#55739)
|
2023-09-21 15:31:09 -07:00 |
|
Liviu-Ionut Gheorghe
|
e654f9691a
|
Allow unescaped paragraph and line separators in string literal (#53869)
Co-authored-by: Liviu Gheorghe <liviu.gheorghe@ivfuture.uk>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
|
2023-09-14 20:59:25 -07:00 |
|
Jake Bailey
|
c0b39c6967
|
Skip parsing JSDoc when not needed (#52921)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
|
2023-09-13 15:58:20 -07:00 |
|
Jake Bailey
|
b5b6048bb3
|
Clean up helpers which are always present in ES2020 (#55515)
|
2023-08-28 12:26:22 -07:00 |
|
Jake Bailey
|
5e8c261b6a
|
dprint the codebase (#54820)
|
2023-08-16 14:26:38 -07:00 |
|
Jake Bailey
|
6a96b9767e
|
Enable eslint rule no-useless-escape (#55138)
|
2023-07-28 16:02:38 -07:00 |
|
Nathan Shively-Sanders
|
e374eba37c
|
scanNumber: smaller return value + side effects (#54534)
|
2023-07-06 16:07:31 -07:00 |
|
Ron Buckton
|
f9cf8216c6
|
Support using and await using declarations (#54505)
|
2023-06-22 17:02:56 -04:00 |
|
Oleksandr T
|
0c5be02dcc
|
feat(7411): JSX namespaced attribute syntax not supported (#47356)
|
2023-04-14 16:58:49 -07:00 |
|
Ryan Cavanaugh
|
c89f87f66a
|
Detect malformed UTF-8 files and refuse to engage further (#53667)
|
2023-04-07 12:51:47 -07:00 |
|
David Sherret
|
710e7d914d
|
Remove non-ascii characters from internal code comments (#53608)
|
2023-03-31 10:57:57 -07:00 |
|
形素叢集・ぐらふぃーむ
|
c2dc2fd9b9
|
fix(396): (Dis)allow Octal and Bad Escape Sequences in String and (Tagged) Template Literals (#51837)
|
2023-03-24 16:15:50 -07:00 |
|
Jake Bailey
|
ac55b297b7
|
Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002)
|
2023-03-23 16:26:39 -07:00 |
|
Jake Bailey
|
79a414bb5e
|
Consistently use '...args' for diagnostic args (#53193)
|
2023-03-20 12:53:09 -07:00 |
|
Nathan Shively-Sanders
|
137c461bd0
|
Scan bigger/fewer jsdoc tokens (#53081)
|
2023-03-07 16:32:04 -08:00 |
|
Nathan Shively-Sanders
|
ff1e08f859
|
Rename scanner token methods (#53078)
|
2023-03-07 13:54:44 -08:00 |
|
Jake Bailey
|
718e63b9c9
|
Add links to github above big var blocks (#52925)
|
2023-02-22 17:01:15 -08:00 |
|
Daniel Rosenwasser
|
27376f1577
|
Swap closure state in the type-checker to var to avoid TDZ checks. (#52835)
|
2023-02-21 17:35:55 -08:00 |
|