Initialize web application via create-cloudflare CLI

Details:
  C3 = create-cloudflare@2.50.2
  project name = ssg-sveltekit-template
  framework = svelte
  framework cli = sv@0.8.12
  package manager = npm@11.4.1
  wrangler = wrangler@4.22.0
  git = 2.49.0.windows.1
This commit is contained in:
2025-07-03 14:37:14 -06:00
commit 1b27e07e33
17 changed files with 4552 additions and 0 deletions

26
eslint.config.js Normal file
View File

@ -0,0 +1,26 @@
import prettier from 'eslint-config-prettier';
import { includeIgnoreFile } from '@eslint/compat';
import js from '@eslint/js';
import svelte from 'eslint-plugin-svelte';
import globals from 'globals';
import { fileURLToPath } from 'node:url';
import svelteConfig from './svelte.config.js';
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
export default [
includeIgnoreFile(gitignorePath),
js.configs.recommended,
...svelte.configs.recommended,
prettier,
...svelte.configs.prettier,
{
languageOptions: {
globals: { ...globals.browser, ...globals.node }
}
},
{
files: ['**/*.svelte', '**/*.svelte.js'],
languageOptions: { parserOptions: { svelteConfig } }
}
];