aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';
/**