Files
scriptc/.oxfmtrc.jsonc
Chris Tate c08ab955ae Enforce linting and consistent source formatting
- Enforce oxlint and oxfmt for owned JavaScript and TypeScript with independent CI checks.
- Preserve compiler import boundaries and protected fixtures while cleaning up lint findings.
- Standardize source formatting and validate import, fixture, and embedded-source protections.
2026-10-05 17:51:24 -05:00

34 lines
915 B
JSON

{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "preserve",
"trailingComma": "all",
"endOfLine": "lf",
// Source strings and import execution order are part of compiler and harness contracts.
"embeddedLanguageFormatting": "off",
"sortImports": false,
"sortPackageJson": false,
"proseWrap": "preserve",
// Program fixtures, generated output, native/vendor sources and the standalone docs workspace
// are outside the root JS/TS formatting scope.
"ignorePatterns": [
"**/node_modules/**",
"**/dist/**",
"**/vendor/**",
"**/fixtures/**",
"**/*.generated.*",
"**/artifacts/**",
"docs/**",
"tests/corpus/**",
"tests/diagnostics/**",
"tests/library-mode/**",
"tests/test262/**",
"benchmarks/**",
"examples/**",
],
}