Commit graph

126 commits

Author SHA1 Message Date
Johannes 0f648cd7db
add eslint rule to disallow look behind regex feature, ignore in git and markdown fyi @lszomoru, @mjbvz 2022-03-22 16:02:19 +01:00
Matt Bierner bfc026b97a
Drop into text editor api proposal (#143334)
* Add drop into editor api proposal

For #142990

* Use AsyncEmitter
2022-03-18 11:32:11 -07:00
Matt Bierner e2fb656182
Fix comment 2022-02-11 13:21:49 -08:00
Matt Bierner dbb563c14d
Use 'vscode-notebook-renderer' types for our webview prelaods
This ensures we match the public apis
2022-02-09 15:36:46 -08:00
Alex Dima 00d619e6fe
Enforce import rule to avoid new imports (#141921) 2022-02-03 12:44:20 +01:00
Johannes Rieken 4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Johannes Rieken 7ccb868835
make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal 2022-02-02 12:37:29 +01:00
Alex Dima 71a20bb216
Disallow importing workbench/api in workbench/services (fixes #141003) 2022-02-01 00:00:25 +01:00
Alex Dima 172e83e470
Remove no longer necessary rule (#140989) 2022-01-25 22:56:03 +01:00
Alex Dima 283f478fc3
Avoid * and spell out all allowed node modules to have squiggles when importing vscode by accident 2022-01-25 21:28:38 +01:00
Alex Dima 46e068c506
Move common imports to .eslintrc.json 2022-01-25 21:28:37 +01:00
Benjamin Pasero 0f89762b4b
Rename workbench.web.api.* to workbench.web.main.* (#141263)
* web - rename entry file

* web - rename entry file also for server

* rename main entry in copy
2022-01-24 12:45:49 +01:00
Benjamin Pasero afb3140beb
welcome - introduce dedicated top level folders (#141138)
* welcome - introduce dedicated top level folders

* Remove special rules for `contrib/welcome`

* fix svgs

* fix layers lint

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-01-22 09:21:56 +01:00
Benjamin Pasero 67c35d0f4c
Merge branch 'main' into ben/web-api-layers 2022-01-21 14:13:34 +01:00
Alex Dima 1498d0f340
Add explicit layers for editor contributions (fixes #140995) 2022-01-21 10:29:55 +01:00
Benjamin Pasero 2e96be84e2
web - update layer rules 2022-01-21 10:20:23 +01:00
Benjamin Pasero 06f4700ce4
web - remove workbench.web.main 2022-01-21 10:12:44 +01:00
Alex Dima 3269deea2b
Move server code to vs/server/node 2022-01-20 17:18:10 +01:00
Alex Dima 41688566cb
Add tests for parseConnectionToken 2022-01-20 17:05:35 +01:00
Alex Dima 43d18c529c
Merge remote-tracking branch 'origin/main' into alex/issue-140997 2022-01-20 14:46:08 +01:00
Alex Dima 3c3e3cadfa
Remove no longer needed exceptions (#140993) 2022-01-20 14:20:36 +01:00
Alex Dima 45633f34a9
Add rules for server entry points 2022-01-20 10:11:08 +01:00
rebornix 29b03e8c1b
fix #140992. 2022-01-19 11:20:22 -08:00
Alex Dima 62b0d5cb81
Add /~ as a layer template, adopt it, simplify and align code import rules (#140857) 2022-01-18 18:27:34 +01:00
Alex Dima aa86df2561
For each target, allow importing itself 2022-01-18 18:27:34 +01:00
Alex Dima 0ae845536b
Avoid leading ** 2022-01-17 21:21:38 +01:00
Alex Dima 4aed6e1fd1
Ensure all files are covered by code-import-patterns (fixes #140857) 2022-01-17 17:55:45 +01:00
Alex Dima d018132104
Move defaultWorkerFactory.ts to /browser/ (#140857) 2022-01-17 17:23:31 +01:00
Alex Dima bc1e738569
Add rules for some missing folders (#140857) 2022-01-17 15:06:39 +01:00
Benjamin Pasero 9be2757019
🆙 playwright@1.18 (#140767)
* tests - use `@playwright/test@1.18.0-rc1`

* fix bad dependency

* clear more weird ts dependencies
2022-01-15 09:35:39 +01:00
Benjamin Pasero eecbd962ef
debt - rename iconv-lite-umd package (#140650) 2022-01-14 07:28:41 +01:00
Alex Ross 4d1d73f6ef
Revert "Add timestamps to comments proposal (#139849)"
This reverts commit b978d7150c.
2022-01-12 15:51:57 +01:00
Alex Ross b978d7150c
Add timestamps to comments proposal (#139849) 2022-01-12 14:41:23 +01:00
Dirk Baeumer 7ebb51f5ac
Remove delimiter rule since it causes lots of build failures 2022-01-11 10:51:01 +01:00
Dirk Baeumer 87b3230323
Fixes #140391: Missing semicolon 2022-01-11 10:42:04 +01:00
Alex Dima 23f72a0aa7
Properly dispose emitter when last listener is removed 2021-12-28 14:49:36 +01:00
Matt Bierner e7b3724e0c
Enable no-case-declarations in codebase (#139243)
Fixes #139236

This can catch tricky programming mistakes that cause a runtime error. See 7e266b2c42 as an example of the type of bug this can prevent
2021-12-15 17:15:35 -08:00
Daniel Imms c65c8738f9 Copy and use IWindowDriver in PlaywrightDriver 2021-11-12 06:11:18 -08:00
Daniel Imms 634dae736e Merge remote-tracking branch 'origin/main' into tyriar/smoke_test_improvements 2021-11-12 05:45:20 -08:00
Johannes Rieken a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +01:00
Daniel Imms 6a6a1b65df Use handles in playwright driver 2021-11-10 08:03:22 -08:00
Logan Ramos 78ea034530
Initial assignment service work (#136238)
* Initial assignment service work

* Modify useragent for experiment

* minor refactor

* remove extraneous comment

Co-authored-by: SteVen Batten <sbatten@microsoft.com>
2021-11-01 15:35:12 -04:00
Johannes Rieken fc420cb9cb
add custom rule to prevent test.only 2021-11-01 16:37:13 +01:00
Johannes Rieken 08a9a544e1
Revert "add mocha-no-only lint rule"
This reverts commit 538c4932b6.
2021-11-01 15:53:51 +01:00
Johannes Rieken 538c4932b6
add mocha-no-only lint rule 2021-11-01 15:18:10 +01:00
Alex Dima 5f226a990c
Remove special rules for src/vs/server 2021-10-21 09:52:40 +02:00
Benjamin Pasero 3cda269c80 ESlint: enable no-async-promise-executor (#134873) 2021-10-12 10:50:44 +02:00
Benjamin Pasero 85c5eb7281 Enable parcel-watcher as new default watcher (#132483) 2021-10-11 11:17:05 +02:00
Henning Dieterichs c0cc785861
Disables header eslint-rule for src/vs/server/* 2021-08-12 18:04:53 +02:00
Benjamin Pasero b794b9223c
:chore: sqlite3 module (#130654) 2021-08-12 09:37:55 +02:00