quick-lint / quick-lint-js

quick-lint-js finds bugs in JavaScript programs
https://quick-lint-js.com
GNU General Public License v3.0
1.52k stars 191 forks source link

refactor(vscode): inject translator and workspace #1189

Closed vegerot closed 6 months ago

vegerot commented 7 months ago

refactor(vscode): inject translator and workspace

Summary: This commit refactors the global translator class into a variable injected into the VSCode workspace, and gives the workspace as an argument to QLJS_Lintable_Document.

This refactor clears the way for adding snarky and language settings for VSCode


Stack created with Sapling. Best reviewed with ReviewStack.