Matt Bierner
0762d23ae7
Build VS Code using TS 4.4 ( #127823 )
...
* Build VS Code using TS 4.4
* Remove usages of deprecated `ClientRectList`
* Add any casts for missing `caretRangeFromPoint`
* Add temporary any casts for `zoom` css propery
This non-standard css property no longer exists in lib.dom.d.ts
* MouseWheelEvent -> WheelEvent
* Pick up new TS nightly
Co-authored-by: Alexandru Dima <alexdima@microsoft.com >
2021-07-08 14:27:39 -07:00
Matt Bierner
97b5db8dba
'vs code' -> 'the editor' in d.ts
...
Fixes #124361
Also adds a lint rule for this
2021-06-08 11:35:42 -07:00
Benjamin Pasero
15aca96cd5
build - unblock lauching
2021-06-03 07:21:15 +02:00
João Moreno
0a7a69f190
fix build compilation
2021-05-26 13:30:43 +02:00
Johannes Rieken
dbd4ede23f
add api lint rule for region comments
2021-01-21 17:42:33 +01:00
Johannes Rieken
845a4d4268
add new rule to enforce Thenable over Promise, adopt in vscode.d.ts and vscode.proposed.d.ts
2021-01-20 13:08:04 +01:00
Johannes Rieken
0319fedae1
add lint rule for missing cancellation token in resolve and provide methods, fyi @alexr00 please remove surpression comment
2021-01-05 18:48:13 +01:00
João Moreno
008f8dcdee
missing compilation
2021-01-05 11:01:52 +01:00
Johannes Rieken
fee7cdacf7
add provider naming rule
2021-01-04 20:02:05 +01:00
Alexandru Dima
d1fff1a083
Check in .js files from the /build/ folder to improve build speeds
2020-12-14 11:13:16 +01:00
Johannes Rieken
1bd7cf9e41
use gh username for todo-tags, nuke some todo-tags
2020-11-02 14:16:55 +01:00
Alex Dima
2ab5b8bd5f
Convert build/lib/eslint/code-no-unused-expressions.js to .ts
2020-09-24 17:10:39 +02:00
João Moreno
2469bf6832
remove build compilation output
2020-09-22 11:12:55 +02:00
Matt Bierner
c5e1438a6e
Don't report literal errors on null
2020-06-22 15:43:13 -07:00
Matt Bierner
5426f5ff70
Add CustomDocumentContentChangeEvent
...
For #77131
- Rename `onDidEdit` to `onDidChange`
- Allow custom editors to fire a `CustomDocumentContentChangeEvent` that only marks the editor as dirty but does not enable undo/redo. The only way for editor to get out of this dirty state is to either save or revert the file
2020-04-16 17:40:20 -07:00
Matt Bierner
ff253a8f60
Build VS Code with TS 3.9-nightly
2020-02-29 11:45:48 -08:00
Benjamin Pasero
c4622ac41a
build leftover
2020-02-05 11:29:30 +01:00
Benjamin Pasero
2095810809
layers check - make sure to test editor contrib as well
2020-02-05 11:19:00 +01:00
Johannes Rieken
8342b3ada9
add some lint rules that enforce our api-guidelines
2020-01-31 12:10:58 +01:00
Johannes Rieken
a9f8033549
eslint - make nls-rule a little more strict
2020-01-03 11:44:54 +01:00
Johannes Rieken
125ba4a8a6
enable custom/forked no-unused-expressions rule
2020-01-03 09:32:40 +01:00
Johannes Rieken
80e6e42a7e
adjust rule to allow double quotes for "use strict" and other directives
2020-01-02 20:43:58 +01:00
Johannes Rieken
324764a4df
cleanup rule meta data, add links when possible
2019-12-31 11:32:41 +01:00
Johannes Rieken
e27d7cafa1
only one double-qoute string rule
2019-12-31 09:14:07 +01:00
Johannes Rieken
9fefd2b6fb
relax and allow double quoted strings appearing inside localize call
2019-12-30 18:45:33 +01:00
Johannes Rieken
c9179d1e6a
fix nls-rule when using member-expression
2019-12-30 18:39:30 +01:00
Johannes Rieken
a61f38eee5
migrate no-unexternalized-strings rule (have two variants)
2019-12-30 17:48:21 +01:00
Johannes Rieken
53d1dffaff
use AST selector to simplify things
2019-12-30 14:57:04 +01:00
Johannes Rieken
4db80066b4
use ts-es-tree-typings, support import-equals
2019-12-30 14:08:44 +01:00
Johannes Rieken
11f9af09d7
check call expression argument length
2019-12-30 13:33:42 +01:00
Johannes Rieken
808865cf57
extract import path detection into util
2019-12-30 13:01:33 +01:00
Johannes Rieken
b05b481265
migrate no-standalone-editor rule
2019-12-30 11:23:53 +01:00
Johannes Rieken
2ea9132cab
migrate no-nls-in-standalone-editor rule
2019-12-30 11:19:24 +01:00
Johannes Rieken
a3bd604627
migrate translation remind rule
2019-12-30 11:09:38 +01:00
Johannes Rieken
9819da68ab
migrate import-patterns rule to eslint
2019-12-30 10:03:52 +01:00
Johannes Rieken
b0d38052b5
use rulesdir instead of rules-module
2019-12-30 09:46:58 +01:00
Johannes Rieken
1075b91187
tweaks
2019-12-30 09:24:56 +01:00
Johannes Rieken
556475c71f
add eslint-rules "module" and use it in eslintrc-file
2019-12-24 13:07:59 +01:00