Add prettier commit hook to svelte files

#2946

Development PR

Issue

Solved
N
ndricimrr
Oct 25, 2022, 10:51 AM

Svelte files are not automatically prettified on commit, leading to inconsistent prettifying that depends on VS Code local styling plugins.

Install prettier-plugin-svelte on core/package.json and using the prettier CLI command should be enough to prettify automatically:

prettier --write --plugin-search-dir=. ./**/*.svelte // limit to core/src initially

Info

Closed at May 28, 2024, 1:05 PM
Assignees walmazacn
Labels internal, ora
Milestone None