SvelteKit + EditorConfig
Same indentation and line endings in every editor. This page shows exactly what pickstack adds to a SvelteKit project for EditorConfig: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.
$ npm create pickstack@latest my-app -- --framework sveltekit --modules editorconfig --yesCustomize in the configurator
New files
root = true [*] charset = utf-8 end_of_line = lf indent_style = space indent_size = 2 insert_final_newline = true trim_trailing_whitespace = true # Two trailing spaces are a line break in Markdown. [*.md] trim_trailing_whitespace = false
Project files
.editorconfig.gitignoreREADME.mdpackage.jsonsrc/app.d.tssrc/app.htmlsrc/lib/Counter.sveltesrc/lib/index.tssrc/routes/+layout.sveltesrc/routes/+layout.tssrc/routes/+page.sveltesrc/routes/about/+page.sveltesrc/routes/layout.cssstatic/robots.txttsconfig.jsonvite.config.ts