import { defineConfig, type OxfmtConfig } from "oxfmt"; export default defineConfig({ semi: true, singleQuote: false, tabWidth: 2, useTabs: false, printWidth: 100, endOfLine: "lf", trailingComma: "all", ternaries: true, sortPackageJson: true, insertFinalNewline: true, embeddedLanguageFormatting: "auto", sortImports: { newlinesBetween: false, }, ignorePatterns: [ "**/.vendor/**", "**/specs/**", // Upstream conformance suites, submoduled (see packages/core/conformance). "packages/core/conformance/connect/**", "packages/core/conformance/protobuf/**", // Smithy CLI output (see packages/aws/test/protocol-tests). "packages/aws/test/protocol-tests/model.json", "dist/**", "./submodules/**", "*.min.js", "**/lib/**", "**/mdx/**", "**/*.mdx", "**/*.md", "**/__snapshots__/**", "**/.svelte-kit/**", "**/routeTree.gen.ts", "**/test-results/**", "examples/prisma-tanstack-start/src/prisma/contract.d.ts", "examples/prisma-tanstack-start/src/prisma/contract.json", "**/fixtures/chart/templates/**", // Benchmark runs: slim, single-line JSON written by benches/dashboard/scripts/slim.mjs. "benches/dashboard/runs/**", ], } satisfies OxfmtConfig);