Loading...
Loading...
Compare original and translation side by side
npx oxfmt@latest --migrate prettier.oxfmtrc.json.prettierignoreignorePatternsprettier-plugin-tailwindcsssortTailwindcssprettier-plugin-packagejsonsortPackageJsonnpx oxfmt@latest --migrate prettier.oxfmtrc.json.prettierignoreignorePatternsprettier-plugin-tailwindcsssortTailwindcssprettier-plugin-packagejsonsortPackageJsonnpx oxfmt@latest --migrate biomebiome.jsonbiome.jsonc.oxfmtrc.jsonfiles.includesignorePatternsformatter.*javascript.formatter.*| Biome | oxfmt |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
.oxfmtrc.json.oxfmtrc.jsonoverridesnpx oxfmt@latest --migrate biomebiome.jsonbiome.jsonc.oxfmtrc.jsonfiles.includesignorePatternsformatter.*javascript.formatter.*| Biome | oxfmt |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
.oxfmtrc.json.oxfmtrc.jsonoverrides.oxfmtrc.json.oxfmtrc.jsonprintWidth: 80printWidth: 80| Option | Status |
|---|---|
| Not supported. Use |
| Not supported in JS/TS files yet |
| Not supported in JS/TS files yet |
| 选项 | 状态 |
|---|---|
| 不支持。请显式使用 |
| 暂不支持在JS/TS文件中使用 |
| 暂不支持在JS/TS文件中使用 |
prettier-plugin-packagejsonprettier-plugin-packagejsonprettier-plugin-packagejsonprettier-plugin-packagejsonoverrides{
"overrides": [
{
"files": ["*.md"],
"options": { "tabWidth": 4 }
}
]
}overrides{
"overrides": [
{
"files": ["*.md"],
"options": { "tabWidth": 4 }
}
]
}.oxfmtrc.jsonoverrides.oxfmtrc.jsonoverridestabWidthuseTabssemisingleQuotejsxSingleQuotequotePropstrailingCommaarrowParensbracketSpacingbracketSameLineendOfLineproseWraphtmlWhitespaceSensitivitysingleAttributePerLinevueIndentScriptAndStyletabWidthuseTabssemisingleQuotejsxSingleQuotequotePropstrailingCommaarrowParensbracketSpacingbracketSameLineendOfLineproseWraphtmlWhitespaceSensitivitysingleAttributePerLinevueIndentScriptAndStyleeslint-plugin-perfectionist/sort-imports{
"sortImports": {
"partitionByNewline": true,
"newlinesBetween": false
}
}eslint-plugin-perfectionist/sort-imports{
"sortImports": {
"partitionByNewline": true,
"newlinesBetween": false
}
}prettier-plugin-tailwindcss| Prettier (top-level) | oxfmt ( |
|---|---|
| |
| |
| |
| |
| |
| |
prettier-plugin-tailwindcss| Prettier(顶层) | oxfmt ( |
|---|---|
| |
| |
| |
| |
| |
| |
| Option | Default | Description |
|---|---|---|
| | Whether to add a final newline at end of file |
| | Sort |
| 选项 | 默认值 | 描述 |
|---|---|---|
| | 是否在文件末尾添加最终换行符 |
| | 对 |
undefinedundefinedundefinedundefined| Prettier / Biome | oxfmt |
|---|---|
| |
| |
| |
| |
| |
| |
| Prettier / Biome | oxfmt |
|---|---|
| |
| |
| |
| |
| |
| |
npx oxfmtnpx oxfmt.editorconfiguseTabstabWidthendOfLineinsertFinalNewlineprintWidth.oxfmtrc.jsonnpx oxfmt@latest --checkoxfmt --lsp"$schema": "./node_modules/oxfmt/configuration_schema.json".oxfmtrc.jsonnpx oxfmt@latest --init.oxfmtrc.json.editorconfiguseTabstabWidthendOfLineinsertFinalNewlineprintWidth.oxfmtrc.jsonnpx oxfmt@latest --checkoxfmt --lsp.oxfmtrc.json"$schema": "./node_modules/oxfmt/configuration_schema.json"npx oxfmt@latest --init.oxfmtrc.json