Commit Graph

45 Commits

Author SHA1 Message Date
renovate[bot]
1bd4642423
Update dependency prettier to v3.2.5 (#8868) 2024-04-30 18:41:20 -04:00
renovate[bot]
9f467afae0
Update dependency prettier to v3.2.4 (#8829) 2024-01-17 11:15:11 -05:00
Jason Fields
468182d130 Revert "Update tsconfig to ES2022"
This reverts commit 4b033e2a2e.
2023-11-17 21:26:13 -05:00
Jason Fields
4b033e2a2e Update tsconfig to ES2022 2023-10-27 19:10:48 -04:00
Jason Fields
a0e3fd895d Update lib/target in tsconfig to ES2021 2023-03-20 22:59:29 -04:00
Jason Fields
e5973bbc5b Remove suppressImplicitAnyIndexErrors flag from tsconfig
This is deprecated as of typescript 5.0 and obviously just bad practice.
2023-03-09 21:13:41 -05:00
Jason Fields
1d09e2a8b7 Add .prettierignore and yarn prettier command 2023-03-01 19:56:06 -05:00
Jason Fields
d745d51920 Disable isolatedModules again 2023-03-01 18:06:41 -05:00
Jason Fields
d4da617353 Enable isolatedModules in tsconfig 2023-03-01 17:53:51 -05:00
Jason Fields
a3d9701ff3 Enable esModuleInterop in tsconfig 2022-12-27 23:44:44 -05:00
Jason Fields
27b915808f Enable forceConsistentCasingInFileNames in tsconfig
See www.typescriptlang.org/tsconfig#forceConsistentCasingInFileNames
2021-10-14 01:10:15 -04:00
renovate[bot]
104cf4779a
Update dependency typescript to v4.4.2 (#7031)
For now, `--useUnknownInCatchVariables` is disabled
2021-08-26 23:05:13 -04:00
Jason Fields
b2c6102b3b Enable noImplicitOverride
Fixes #6670
2021-06-05 13:57:51 -04:00
Jason Fields
7103285539 Enable strictPropertyInitialization
Fixes #5847
2021-05-28 21:34:16 -04:00
Jason Fields
fc902d21ca Don't throw an exception if a built-in command (such as closeDirtyDiff) is not found
Using `Promise.allSettled` requires upgrading to the ES2020 lib, which I think should be fine, at least on semi-modern versions of VSCode/browsers.
Fixes #5526
2021-03-25 15:46:48 -04:00
Jason Fields
0941fba468 Enable strict in tsconfig instead of including each strict flag individually 2021-03-05 12:31:11 -05:00
Jason Fields
2e5ab7eda4 Enable strictFunctionTypes and strictBindCallApply to tsconfig
We're now very close to full `strict`, which is frankly long overdue.
2021-01-25 13:48:05 -05:00
Jason Fields
c36b5b490c Enable noImplicitAny in tsconfig
Still need to disable `suppressImplicitAnyIndexErrors`, but that's better done in a separate commit, I think.
Refs #6034
2021-01-25 13:07:59 -05:00
Jason Fields
c86c0a1c25 Enable noImplicitThis in tsconfig
Fixes #5983
2021-01-25 12:35:52 -05:00
Peng Lyu
c900a7eaa8
Nodeless entry for Vim extension (#5130)
Add a new entry for running Vim in nodeless environment and load platform-specific modules based on the target.

This PR includes changes to:
- fs. In node, it's node's native fs; in nodeless, it uses vscode.workspace.fs.
- historyFile. In node, it stores the history in file system; in nodeless, it stores in memory.
- logger. In node, it uses winson; in nodeless, it uses browser console.
- lastly, it relies on Webpack to tree shake unwanted code paths (for example, remove nvim related code paths from the bundle in nodeless environment).
2020-09-20 13:57:38 -04:00
Jason Fields
59b8d3115c Enable --resolveJsonModule to get type safety on package.json import 2020-08-07 21:39:26 -04:00
Jason Fields
0255624077 Make gulp [force]prettier handle .json files 2020-06-18 12:53:41 -04:00
Jason Fields
89b88ab1b7 Update typescript target/lib to ES2019
This way we don't get async/await compiled to an ugly state machine, which means a slightly nicer debug experience.
2020-03-26 17:21:20 -04:00
Jason Poon
3b2631ed46 feat: use winston/winston-console-for-electron for logging 2018-06-10 01:47:07 -07:00
Jason Poon
200aa29633 Remove need to install gulp on travis 2018-02-03 22:30:06 -08:00
Jason Poon
c4f75ad16a fix: move to npm for typings 2018-02-03 22:30:06 -08:00
Jason Poon
5215e3b8da
fix(line-endings): change all files to lf (#2111) 2017-11-02 14:04:42 -07:00
Jason Poon
347f5ef005 upgraade packages. fix lint issues 2017-10-13 11:51:03 -07:00
Horace He
7992227b43 changed it to alwaysStrict 2017-06-30 14:11:03 -07:00
rebornix
5e49c39177 Revert "Absolute path resolution."
This reverts commit b1a9f8483b.
2017-05-04 20:22:12 -07:00
rebornix
b1a9f8483b Absolute path resolution. 2017-05-04 15:03:47 -07:00
Jason Poon
675bc23214 Upgrade typescript 2.2.1->2.3.2. tslint 3.10.2->2.3.2. Fix errors (#1614) 2017-04-30 01:25:06 -05:00
xconverge
30a32027c3 update ts to ts2, start fixing compiler errors 2017-03-06 22:27:42 -08:00
rebornix
5723dcb56e Refactor code with enumerator 2016-08-12 21:28:05 +08:00
johnfn
1463209024 Use TypeScript 2.0 and use strictNullChecks. 2016-07-12 00:44:55 -07:00
johnfn
e4d3448b57 Fix VSCode locking up on large files 2016-07-07 00:04:26 -07:00
rebornix
9982ce449e Fix TS2318 and ignore .vscode-test folder 2016-07-07 11:56:02 +08:00
johnfn
caddbad61f Fix some problems with tslint and Travis. 2016-06-30 13:11:04 -04:00
johnfn
8cbc769e77 Use --noImplicitAny. 2016-06-18 12:13:07 -07:00
johnfn
f160a86c12 Passing most tests. 2016-05-29 02:32:06 -04:00
Jason Poon
244d8efd5f Update to new extension APIs. No longer requests binding to every single letter in package.json.
* Update outdated npm packages
* Update typings
* Fixes #157, #126, #188
* Remove appveyor builds as vscode doesn't support them as a CI
2016-05-19 02:59:16 -07:00
Jason Poon
f5e3f0cb34 Upgrade to Typings as TSD has been deprecated 2016-02-18 00:26:31 -08:00
johnfn
2984752b8d Convert to ES6, Promises, async and await. 2016-02-11 00:37:09 -08:00
Jason Poon
92862cc35e Tests: Fixes #15 enabling all tests to be run within Travis 2016-01-02 02:15:41 -08:00
guillermooo
6652b63929 scaffold project 2015-11-12 20:51:40 +01:00