Skip to content

Commit d2bd994

Browse files
ci(lint): auto-fix
1 parent e56afc3 commit d2bd994

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

extensions/vscode/src/features/doctor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function getPackageJsonOfWorkspacePackage(folder: string, pkg: string) {
265265
const path = require.resolve(pkg + '/package.json', { paths: [folder] });
266266
return {
267267
path,
268-
json: require(path) as { version: string },
268+
json: require(path) as { version: string; },
269269
};
270270
} catch { }
271271
}

extensions/vscode/src/hybridMode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const enabledHybridMode = computed(() => {
2828
return true;
2929
}
3030
return config.server.hybridMode;
31-
})
31+
});
3232

3333
export const enabledTypeScriptPlugin = computed(() => {
3434
return (

packages/language-core/lib/codegen/script/template.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function* generateTemplateComponents(options: ScriptCodegenOptions): Generator<C
5757

5858
if (options.sfc.script && options.scriptRanges?.exportDefault?.componentsOption) {
5959
const { componentsOption } = options.scriptRanges.exportDefault;
60-
yield `const __VLS_componentsOption = `
60+
yield `const __VLS_componentsOption = `;
6161
yield [
6262
options.sfc.script.content.slice(componentsOption.start, componentsOption.end),
6363
'script',

packages/language-core/lib/codegen/template/interpolation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function* generateInterpolation(
99
options: {
1010
ts: typeof ts,
1111
destructuredPropNames: Set<string> | undefined,
12-
templateRefNames: Set<string> | undefined
12+
templateRefNames: Set<string> | undefined;
1313
},
1414
ctx: TemplateCodegenContext,
1515
source: string,

packages/language-core/lib/parsers/scriptSetupRanges.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,35 @@ type DefineProp = {
2020
defaultValue?: TextRange;
2121
required?: boolean;
2222
isModel?: boolean;
23-
}
23+
};
2424

2525
type DefineProps = CallExpressionRange & {
2626
name?: string;
2727
destructured?: Set<string>;
2828
destructuredRest?: string;
2929
statement: TextRange;
30-
}
30+
};
3131

3232
type WithDefaults = Pick<CallExpressionRange, 'callExp' | 'exp' | 'arg'>;
3333

3434
type DefineEmits = CallExpressionRange & {
3535
name?: string;
3636
hasUnionTypeArg?: boolean;
3737
statement: TextRange;
38-
}
38+
};
3939

4040
type DefineSlots = CallExpressionRange & {
4141
name?: string;
4242
isObjectBindingPattern?: boolean;
4343
statement: TextRange;
44-
}
44+
};
4545

4646
type DefineExpose = CallExpressionRange;
4747

4848
type DefineOptions = {
4949
name?: string;
5050
inheritAttrs?: string;
51-
}
51+
};
5252

5353
type UseAttrs = CallExpressionRange;
5454

@@ -58,7 +58,7 @@ type UseSlots = CallExpressionRange;
5858

5959
type UseTemplateRef = CallExpressionRange & {
6060
name?: string;
61-
}
61+
};
6262

6363
export interface ScriptSetupRanges extends ReturnType<typeof parseScriptSetupRanges> { }
6464

0 commit comments

Comments
 (0)