mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
c9b4db9ff7
Switch to a fixture-based testing approach, similar to apps/oxlint.
1.0 KiB
1.0 KiB
Input
Command
oxfmt --migrate biome
File tree
- fixtures/
- already_exists/
- .oxfmtrc.json
- arrow_parens/
- biome.json
- attribute_position/
- biome.json
- basic_config/ <CWD>
- biome.json
- both_json_jsonc/
- biome.json
- biome.jsonc
- defaults/
- biome.json
- force_ignore/
- biome.json
- ignore_patterns/
- biome.json
- js_overrides/
- biome.json
- jsonc_config/
- biome.jsonc
- no_config/
- .gitkeep
- warn_overrides/
- biome.json
Result
Exit code
0
stdout
Found Biome configuration at: <cwd>/biome.json
Created `.oxfmtrc.json`.
stderr
File changes
basic_config/.oxfmtrc.json (created)
{
"useTabs": false,
"tabWidth": 4,
"printWidth": 120,
"singleQuote": true,
"jsxSingleQuote": false,
"quoteProps": "as-needed",
"trailingComma": "all",
"semi": false,
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"ignorePatterns": []
}