Commit graph

26 commits

Author SHA1 Message Date
Martin Aeschlimann 3f5600c324
Improve stylelint variable checking (#178002) 2023-03-22 14:59:25 +01:00
Martin Aeschlimann 780b2f5758
add linter for css variable names (#176769) 2023-03-10 07:33:02 -08:00
Connor Peet a9e38fe925
ignore rust code when doing hygenie check 2022-09-20 08:49:29 -07:00
Matt Bierner 5e92794be6
Re-enable running our eslint rules using ts-node (#159495)
Resubmission of #157532 with the following changes:

- Use `eslint-plugin-local` instead of `yarn` link to run our plugins
- Move our plugins to a top level `.eslintplugin` dir (as required by `eslint-plugin-local`)
- Update all names to `local/`
2022-08-30 08:40:04 +02:00
Matt Bierner 9e5248072a
Fix ts-node for eslint (#159483)
Bumps the cachesalt to make sure ts-node is installed
2022-08-29 20:51:12 +02:00
Matt Bierner 5b21c7f28b
Run our custom eslint rules using ts-node (#157532)
* Run our custom eslint rules using ts-node

Use `ts-node` to run our custom eslint rules.  This lets us delete the pre-compiled js. It also means you can don't have to compile the rules while editing them

As part of this change, I've also switched us to using an eslint plugin instead of a rulesDir. This is now the preferred way to ship custom rules

* Fix two more disables

* Move ts-node to project root

* Enable transpileOnly
2022-08-29 09:39:09 -07:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Rob Lourens 55abdaee3e
Render outputs a viewport above as well as below (#149879)
* Also render outputs/markdowns a viewport above the current viewport, as well as below
Towards #148164

* Update docs and add background color to svg
2022-05-19 22:12:43 +00:00
Johannes Rieken 4f62f9b594
make sure unicode stream emits files again 2022-02-04 15:38:33 +01:00
Johannes Rieken eb0935b068
fix precommit hook, fyi @joaomoreno 2022-02-04 11:56:13 +01:00
João Moreno 7455bc43ad
unify eslint filters (#142063) 2022-02-03 08:12:23 -08:00
Alex Dima a704a69394
Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
Alexandru Dima d21d85a3fc
Fix precommit hook on Windows 2021-01-25 17:46:09 +01:00
João Moreno 3b03189afa
Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
João Moreno c6ceb1ab2e isolate eslint from hygiene 2021-01-07 09:15:05 +01:00
João Moreno cb67fffb94 improve hygiene glob patterns 2021-01-06 20:36:37 +01:00
Matt Bierner 3ed300eb9d
Add simple browser extension (#109276)
* Add support for TS's Hierarchical refactorings API

https://github.com/microsoft/TypeScript/pull/41975

* Add simple browser extension

This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces

The browser itself has a number of limitations due to the security around iframes:

- It traps keyboard focus
- We can't detect if a page fails to load
- We can't track the current url of the iframe

* Add experimental alert when the iframe is focused

* Disable events on focus warning

* Hooking up simple browser to opener
2021-01-04 19:06:53 -08:00
Alexandru Dima 9945754a62
Add editor smoke test (ported from monaco-editor) 2020-12-28 21:44:42 +01:00
Alexandru Dima c1eb24b027
Load expensive node modules lazily 2020-12-22 19:55:56 +01:00
Matt Bierner 04ec120e2c Exclude dist from eslint and hygine
These files come from the web builds
2020-12-09 18:45:54 -08:00
Jackson Kearl e3105b9453 Add jpg exclude to hygene 2020-11-30 20:56:50 -08:00
Christof Marti 0c2c8dd8b8 Inline allOf clauses for additionalProperties: false (fixes microsoft/vscode-remote-release#2967) 2020-11-17 11:16:37 +01:00
João Moreno 96d03d1ecc
Linux Snap: Prevent GDK_PIXBUF env from leaking out (#109608)
* update hygiene file

* snap: do not let GDK_PIXBUF leak out

fixes #100940

* 💄
2020-10-29 14:13:22 +01:00
Sandeep Somavarapu 88144f6d31 Fix #80698
- Inline semver
2020-10-26 12:12:07 +01:00
João Moreno 337189842e
fix lint errors 2020-09-22 14:37:04 +02:00
João Moreno 0ca320561a
isolate hygiene 2020-09-22 11:12:35 +02:00