{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 100,
"endOfLine": "lf",
// Disabled to match prior Prettier behavior and avoid rewriting package.json key order.
"sortPackageJson": false,
"overrides": [
{
"files": ["apps/studio/**/*.{js,jsx,ts,tsx}"],
"options": {
"sortImports": {
"internalPattern": ["@/"],
"ignoreCase": true,
"newlinesBetween": true,
"sortSideEffects": false,
"partitionByComment": true,
"groups": [
["side_effect", "side_effect_style"],
"builtin",
{ "newlinesBetween": false },
["external", "subpath", "unknown"],
["internal", "parent", "sibling", "index", "style"],
],
},
},
},
],
"ignorePatterns": [
".expo",
".next",
"node_modules",
"pnpm-lock.yaml",
"docker*",
"examples/**",
"apps/**/out",
".context/**",
"**/.claude/settings.local.json",
"apps/www/public/images/*",
// Generated by apps/www/scripts/generateStaticContent.mjs (GitHub discussion bodies)
"apps/www/public/changelog.md",
"apps/www/public/changelog/*.md",
"apps/www/.generated/*",
// Published by the supabase/cli release workflow
"apps/www/public/schemas",
// Written by apps/www/scripts/syncPartnerIntakeForm.mjs
"apps/www/components/Partners/__generated__",
"apps/docs/**/generated/*",
"apps/docs/examples/*",
// Ignore files with custom js formatting
"apps/studio/public",
"apps/studio/.output",
"apps/studio/dist",
"apps/**/.turbo",
"apps/docs/__generated__",
// Generated by apps/docs/internals/generate-markdown-manifest.ts
"apps/docs/lib/markdown-manifest.ts",
"apps/design-system/__registry__",
// TanStack Router auto-generated route tree; the file header explicitly
// says to exclude it from formatters.
"apps/studio/routeTree.gen.ts",
"packages/icons/__registry__",
"packages/icons/src/icons/*.ts",
"apps/ui-library/__registry__",
"apps/ui-library/public",
"apps/**/.contentlayer",
// Invalid JSON file
"packages/ui/src/components/Form/examples/PhoneProvidersSchema.json",
// Ignore because of
"apps/www/_blog/2025-07-14-supabase-ui-platform-kit.mdx",
// Vitest file snapshots — JSON.stringify owns the format, not the formatter
"apps/docs/scripts/__snapshots__/",
],
}