Commit Graph

27 Commits

Author SHA1 Message Date
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