Skip to content

Commit 8902bfc

Browse files
committed
Fix lint
1 parent 49ab358 commit 8902bfc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/QueryHelper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export function QueryHelper(_props: QueryEditorHelpProps) {
1212
</TextLink>
1313
</Text>
1414
);
15-
}
15+
}

src/editor/autocomplete.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ function createInsertText({ name, fields }: CompletionState) {
8585
const field = fields[i];
8686
insertText += `"${field}": \${${i + 1}:${field}}`;
8787

88-
if (i == 0) {
88+
if (i === 0) {
8989
insertText += '$0';
9090
}
9191

92-
if (i != fields.length - 1) {
92+
if (i !== fields.length - 1) {
9393
insertText += ',\n\t';
9494
}
9595
}

src/editor/hover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ export function useHover() {
4646
const { dispose } = monaco.languages.registerHoverProvider('json', provider);
4747
hoverDisposeFun.current = dispose;
4848
};
49-
}
49+
}

0 commit comments

Comments
 (0)