Skip to content

Bump prettier from 3.0.1 to 3.0.2

HIFIS Bot requested to merge dependabot/npm_and_yarn/prettier-3.0.2 into master

Bumps prettier from 3.0.1 to 3.0.2.

Release notes

Sourced from prettier's releases.

3.0.2

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.0.2

diff

Break after = of assignment if RHS is poorly breakable AwaitExpression or YieldExpression (#15204 by @​seiyab)

// Input
const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData);
// Prettier 3.0.1
const { section, rubric, authors, tags } = await utils.upsertCommonData(
mainData,
);
// Prettier 3.0.2
const { section, rubric, authors, tags } =
await utils.upsertCommonData(mainData);

Do not add trailing comma for grouped scss comments (#15217 by @​auvred)

/* Input */
$foo: (
	'property': (),
	// comment 1
	// comment 2
)
/* Prettier 3.0.1 */
$foo: (
"property": (),
// comment 1
// comment 2,
);
/* Prettier 3.0.2 */
$foo: (
"property": (),
// comment 1
// comment 2
);

Print declare and export keywords for nested namespace (#15249 by @​sosukesuzuki)

... (truncated)

Commits

Merge request reports