Commit Graph

3413 Commits

Author SHA1 Message Date
Sheetal Nandi
02b07a1788 Dont open composite projects to determine if script info is part of project (#59688) 2024-09-18 10:35:22 -07:00
Isabel Duan
52eaa7b02f Enable --isolatedDeclarations on TS codebase (#59635)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-09-15 18:10:52 -07:00
Sheetal Nandi
87d0e771a8 Fix issues with global typings cache and what gets watches (#59869) 2024-09-05 13:06:30 -07:00
Sheetal Nandi
7976d9cef5 Refactor tsserver, tsc and fourslash-server tests so that paths are always watchable (#59844) 2024-09-04 14:22:10 -07:00
Andrew Branch
a86b5e2b01 Fix error message for type-only import of ES module from CJS (#59711) 2024-08-23 12:05:40 -07:00
Gabriela Araujo Britto
1e7889c697 Enable existing commit characters in certain locations where isNewIdentifier is true (#59523) 2024-08-19 13:24:03 -07:00
Ron Buckton
f025a5b879 built-in iterators should be disposable (#59633) 2024-08-16 11:57:04 -04:00
Wesley Wigham
1250b480a5 Suggest simplifications for overzealous shifts (#59519) 2024-08-14 13:07:50 -07:00
Jake Bailey
25e09d9fc3 Add custom eslint rule 'no-array-mutating-method-expressions' (#59526) 2024-08-14 09:28:57 -07:00
Jake Bailey
195203e971 Add regex eslint plugin, fix lints (#59371) 2024-08-13 14:16:53 -07:00
Jake Bailey
01a874a8ba Update to eslint v9, typescript-eslint v8 (#59518) 2024-08-12 17:13:24 -07:00
Armando Aguirre
5f79e16d33 Refactored node builder flags and tests (#59440)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-08-08 13:19:24 -07:00
Jake Bailey
3f6f3164d6 Remove stableSort, rename sort to toSorted (#55728) 2024-07-23 18:17:07 -07:00
Gabriela Araujo Britto
8a36e26ac6 Add commit characters to protocol (#59339) 2024-07-23 12:32:38 -07:00
Ron Buckton
6f530cc4ce Add TReturn/TNext to Iterable et al (#58243) 2024-07-19 13:14:00 -04:00
navya9singh
ded36b21ac pasteEdits returns no edit when there are no imports needed (#59189) 2024-07-09 10:27:41 -07:00
Gabriela Araujo Britto
c3efeb9d1b Move diagnostic duration to performance data (#59122) 2024-07-03 15:04:51 -07:00
Sheetal Nandi
cb98634f49 Remove errors if noEmit is sepcified with noCheck or emitDeclarationOnly (#59071) 2024-06-28 15:25:14 -07: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
Sheetal Nandi
f7833b2a72 On linux or editor with canUseEvents to prefer immediate directory if its not in root or node_modules (#58866) 2024-06-27 11:32:33 -07:00
Sheetal Nandi
a6bc4ecbe5 Remove refCount from resolutions as we dont need it explicitly since its tracked by files it references (#59041) 2024-06-26 12:46:53 -07:00
Jake Bailey
ef339af128 Use regular imports instead of require where possible (#59017) 2024-06-25 13:56:05 -07:00
Sheetal Nandi
d403e0850f Fix the consistency and correctness of performanceData reported per request (#58968) 2024-06-24 19:02:19 -07:00
Jake Bailey
c38569655b Set JSDocParsingMode.ParseForTypeErrors in compiler tests (#58917) 2024-06-18 17:28:44 -07:00
Daniel Rosenwasser
4935e14901 Use more explicit operations in core helpers (and other nits) (#58873) 2024-06-18 16:00:00 -07:00
Gabriela Araujo Britto
4857546865 Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Wesley Wigham
bbfc1aa281 Enable JS emit for noCheck and noCheck for transpileModule (#58364) 2024-05-30 13:38:37 -07:00
Kat Marchán
ddf43cd0e0 CodeMapper support (#55406) 2024-05-22 16:47:08 -07:00
Sheetal Nandi
e02af8e36d Fix issue where sometimes modified timestamp file was not shown in baseline (#58623) 2024-05-22 14:38:44 -07:00
Sheetal Nandi
fadc83b939 Handle config file change and default project management (#58486) 2024-05-10 14:50:43 -07:00
navya9singh
be8fb98cf1 Implementing copy/paste (#57262) 2024-05-08 16:07:51 -07:00
Jake Bailey
16beff101a Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Wesley Wigham
f76727d17a Add noCheck API option (#57934) 2024-04-26 13:21:15 -07:00
Wesley Wigham
0b71b81d7d Add transpileDeclaration API method (#58261) 2024-04-23 17:09:47 -07:00
Sheetal Nandi
5b3060d5c6 [Experiment] Some tweaking to handle project references for auto import (#55955)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-04-18 11:41:48 -07:00
Jake Bailey
17e420daf6 Use built-in no-restricted-syntax to ban null instead of plugin, ban null type too (#58095) 2024-04-18 09:06:32 -07:00
Jake Bailey
72f413cea0 Remove deprecated originalKeywordKind and isInJSDocNamespace (#58228) 2024-04-17 15:28:07 -07:00
Titian Cernicova-Dragomir
23e99c2b76 Fix miss-reported node reuse in types. (#58221) 2024-04-17 14:41:21 -07:00
Sheetal Nandi
904a59f343 Print correct information about noOpenRef in the baseline (#58230) 2024-04-17 13:28:33 -07:00
Ryan Cavanaugh
3d523923f5 Logarithmish baseline counts (#58212) 2024-04-16 12:18:39 -07:00
Sheetal Nandi
b006768548 When watching failed lookups, watch packageDir if its a symlink otherwise the path we use to watch (#58139) 2024-04-12 11:03:51 -07:00
Sheetal Nandi
4e294963c8 Keep scriptInfo and project alive even after file delete till next file open (#57492) 2024-04-12 10:43:09 -07:00
Wesley Wigham
a2d37a5c60 Underlines in baselines should not consider nodes with .original set synthetic (#58086) 2024-04-05 09:22:42 -07:00
Jake Bailey
4cedfe40b0 Update dprint, don't force multiline imports for imports of single name (#58038) 2024-04-02 10:58:16 -07:00
Sheetal Nandi
26358d25a3 Make sure virtual file system with watch behaves same way as sys/node so we have proper test coverage for symlinks (#57607) 2024-03-29 09:48:51 -07:00
Wesley Wigham
6b4eec4aca Underline type nodes without position mappings in .types baselines (#57963) 2024-03-27 16:16:55 -04:00
Jake Bailey
3c0a802387 Remove sys.bufferFrom, duplicate Buffer declarations, etc (#57916) 2024-03-25 10:50:10 -07:00
Jake Bailey
e72605925d Update deps and fix new lints (#57870) 2024-03-21 09:24:23 -07:00
Ryan Cavanaugh
601117644e Automatic perf stats in baselines (#57730) 2024-03-15 13:31:07 -07:00
Sheetal Nandi
353ccb7688 Ensure correct script kind and text when using cached sourceFile from scriptInfo (#57641) 2024-03-04 15:56:35 -08:00