feat!: sveltekit 3 with the official bun adapter, config lives in vite.config; biome unpinned at 2.5.15, anchor content check off for svelte; bun image pinned to the 1 tag
This commit is contained in:
1 parent
5cee5f99e9
commit
6c9d5063b9
11 files changed
+89
-85
No files matched your search
+11
-1
@@ -6,10 +6,20 @@ import svelte from "eslint-plugin-svelte";
|
||||
import { defineConfig } from "eslint/config";
|
||||
import globals from "globals";
|
||||
import ts from "typescript-eslint";
|
||||
import svelteConfig from "./svelte.config.js";
|
||||
|
||||
const gitignorePath = fileURLToPath(new URL("./.gitignore", import.meta.url));
|
||||
|
||||
{% if frontend_adapter == 'bun' -%}
|
||||
const svelteConfig = {
|
||||
compilerOptions: {
|
||||
runes: ({ filename }) =>
|
||||
filename.split(/[/\\]/).includes("node_modules") ? undefined : true,
|
||||
},
|
||||
};
|
||||
{%- else -%}
|
||||
const svelteConfig = {};
|
||||
{%- endif %}
|
||||
|
||||
export default defineConfig(
|
||||
includeIgnoreFile(gitignorePath),
|
||||
js.configs.recommended,
|
||||
|
||||
Reference in new issue
Block a user