The Svelte 5 SSG migration—we brought sexy back... or to it? Or something...

This commit is contained in:
2026-01-30 23:29:39 -03:00
parent 40b770f8b5
commit 44f6743b45
93 changed files with 6409 additions and 3579 deletions

33
eslint.config.js Normal file
View File

@@ -0,0 +1,33 @@
import js from '@eslint/js';
import tseslint from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import prettier from 'eslint-config-prettier';
export default [
{
ignores: [
'.svelte-kit/**',
'dist/**',
'build/**',
'node_modules/**',
'site/**',
'static/**',
'build.mjs'
]
},
js.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
{
files: ['**/*.mjs', 'build.mjs'],
languageOptions: { globals: { console: 'readonly', process: 'readonly' } }
},
{
rules: {
'svelte/no-at-html-tags': 'warn',
'svelte/require-each-key': 'off',
'svelte/no-navigation-without-resolve': 'off'
}
}
];