Skip to content

multiline block comments should have new line after them #82

@manuel3108

Description

@manuel3108

original code:

/**
 * @param {import("$lib/paraglide/runtime").AvailableLanguageTag} newLanguage
 */
function switchToLanguage(newLanguage) {
	const canonicalPath = i18n.route(page.url.pathname);
	const localisedPath = i18n.resolveRoute(canonicalPath, newLanguage);

	goto(localisedPath);
}

printed code:

/**
 * @param {import("$lib/paraglide/runtime").AvailableLanguageTag} newLanguage
 */ function switchToLanguage(newLanguage) {
	const canonicalPath = i18n.route(page.url.pathname);
	const localisedPath = i18n.resolveRoute(canonicalPath, newLanguage);

	goto(localisedPath);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions