Open History to see the last commit
1import { tanstackConfig } from '@tanstack/oxfmt-config'
2import { defineConfig } from 'oxfmt'
3import type { SortImportsConfig } from 'oxfmt'
4β
5export default defineConfig({
6 ...tanstackConfig,
7 svelte: {},
8 ignorePatterns: [
9 ...tanstackConfig.ignorePatterns,
10 '**/query-codemods/**/__testfixtures__',
11 '**/routeTree.gen.ts',
12 '**/tsconfig.vitest-temp.json',
13 'docs/framework/*/reference',
14 ],
15 overrides: [
16 {
17 files: ['examples/svelte/**'],
18 options: {
19 sortImports: {
20 ...(tanstackConfig.sortImports as SortImportsConfig),
21 internalPattern: ['~/', '@/', '#', '$app/', '$lib/'],
22 },
23 },
24 },
25 ],
26})