-
-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Missing line breaks in +layout.svelte
<svelte:head><link rel="icon" href={favicon} /></svelte:head>
{@render children()}Empty lines in eslint.config.js file:
export default defineConfig(
includeIgnoreFile(gitignorePath),
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs.recommended,
prettier,
...svelte.configs.prettier,
{
languageOptions: { globals: { ...globals.browser, ...globals.node } },
rules: {
// typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.
// see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
'no-undef': 'off'
}
},
{
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
languageOptions: {See the full diff here. Matches a newly scaffold project using interactive CLI.
┌ Welcome to the Svelte CLI! (v0.10.8)
│
◇ Where would you like your project to be created?
│ ./
│
◇ Which template would you like?
│ SvelteKit minimal
│
◇ Add type checking with TypeScript?
│ Yes, using TypeScript syntax
│
◇ What would you like to add to your project? (use arrow keys / space bar)
│ prettier, eslint, tailwindcss
│
◇ tailwindcss: Which plugins would you like to add?
│ forms
│
◆ Project created
│
◆ Successfully setup add-ons: prettier, eslint, tailwindcss
│
◇ Which package manager do you want to install dependencies with?
│ pnpm
│
│ pnpm dlx sv create --template minimal --types ts --add prettier eslint tailwindcss="plugins:forms" --install pnpm ./
│
◆ Successfully installed dependencies with pnpm
│
◇ Successfully formatted modified files
│
◇ What's next? ───────────────────────────────╮
│ │
│ 📁 Project steps │
│ │
│ 1: pnpm run dev --open │
│ │
│ To close the dev server, hit Ctrl-C │
│ │
│ Stuck? Visit us at https://svelte.dev/chat │
│ │
├──────────────────────────────────────────────╯
│
└ You're all set!
Metadata
Metadata
Assignees
Labels
No labels