Lint Fix
This commit is contained in:
parent
c37ac45e80
commit
6f0bbe3ed7
4 changed files with 5 additions and 5 deletions
|
@ -48,4 +48,4 @@ export class XQueryCompletionItemProvider implements CompletionItemProvider {
|
||||||
return completionItem;
|
return completionItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,4 +20,4 @@ export function minifyXml(editor: TextEditor, edit: TextEditorEdit): void {
|
||||||
const range = new Range(editor.document.positionAt(0), endPosition);
|
const range = new Range(editor.document.positionAt(0), endPosition);
|
||||||
|
|
||||||
edit.replace(range, xmlFormatter.minifyXml(editor.document.getText(), xmlFormattingOptions));
|
edit.replace(range, xmlFormatter.minifyXml(editor.document.getText(), xmlFormattingOptions));
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,4 +29,4 @@ export class XmlFormatterFactory {
|
||||||
|
|
||||||
return (XmlFormatterFactory._xmlFormatter = xmlFormatterImplementation);
|
return (XmlFormatterFactory._xmlFormatter = xmlFormatterImplementation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ export class XmlTreeDataProvider implements TreeDataProvider<any> {
|
||||||
const array = new Array<any>();
|
const array = new Array<any>();
|
||||||
|
|
||||||
for (let i = 0; i < node.childNodes.length; i++) {
|
for (let i = 0; i < node.childNodes.length; i++) {
|
||||||
let child = node.childNodes[i];
|
const child = node.childNodes[i];
|
||||||
|
|
||||||
if (child.tagName) {
|
if (child.tagName) {
|
||||||
array.push(child);
|
array.push(child);
|
||||||
|
@ -139,4 +139,4 @@ export class XmlTreeDataProvider implements TreeDataProvider<any> {
|
||||||
this._onDidChangeTreeData.fire();
|
this._onDidChangeTreeData.fire();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue