Skip to content
/ astro-template Public template

Astro template using Svelte and a variety of linters and test suites

Notifications You must be signed in to change notification settings

Shmuppel/astro-template

Repository files navigation

astro-template

Astro template using Svelte and a variety of linters and test suites

lint svelte-check vitest playwright coverage

Features

  • Typescript
  • SCSS, also available in Svelte files
  • Astro-compress to compress the bundle

Linters / Type Checkers

  • Prettier
  • ESLint (with a11y)
  • Stylelint (with idiomatic order)
  • Svelte-check

Testing suites

  • Vitest (with Svelte Testing Library)
  • Playwright

Editors

Default settings for plugins I use are provided for JetBrains IDEs (WebStorm) and VSCode, you might want to change these to your liking. VSCode has Astro syntax support, WebStorm doesn't for the moment.

Bugs

Cannot find module '.svelte' or its corresponding type declarations. when importing Svelte components in .ts files. Affects syntax highlighting only, it seems to be related to the VSCode Svelte plugin.

About

Astro template using Svelte and a variety of linters and test suites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published