aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-03 11:21:47 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-03 11:22:06 -0500
commit4b80a486181b902f3b1e089b584818ce725a91be (patch)
treee07cb517b757627b63abbb00be30c4eff557372c
parent4f24982112e7d4ad7b3f35c21926eafd6f0c8ff3 (diff)
Adjust settings
-rw-r--r--.vscode/settings.json17
-rw-r--r--types/ext/simple-dom-parser.d.ts5
2 files changed, 16 insertions, 6 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 3620e2a4..66e83d21 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,9 +1,18 @@
{
"markdown.extension.toc.levels": "1..3",
- "editor.codeActionsOnSave": {
- "source.addMissingImports": true,
- "source.organizeImports": true,
- "source.fixAll.eslint": true
+ "[javascript]": {
+ "editor.codeActionsOnSave": {
+ "source.addMissingImports": true,
+ "source.organizeImports": true,
+ "source.fixAll.eslint": true
+ },
+ },
+ "[typescript]": {
+ "editor.codeActionsOnSave": {
+ "source.addMissingImports": false,
+ "source.organizeImports": false,
+ "source.fixAll.eslint": true
+ },
},
"eslint.format.enable": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
diff --git a/types/ext/simple-dom-parser.d.ts b/types/ext/simple-dom-parser.d.ts
index d9ae3898..971871a2 100644
--- a/types/ext/simple-dom-parser.d.ts
+++ b/types/ext/simple-dom-parser.d.ts
@@ -16,8 +16,9 @@
*/
export type {
- ChildNode as Parse5ChildNode, Document as Parse5Document,
- Element as Parse5Element
+ ChildNode as Parse5ChildNode,
+ Document as Parse5Document,
+ Element as Parse5Element,
} from 'parse5/dist/tree-adapters/default';
/**