Unsupported features
INFO
These features are planned. Follow our milestone.
Configuration limitations
Not currently supported:
prettierfield inpackage.json- Config file format other than
.jsonand.jsonc overridesfield- Nested configs in sub directories
- Nested
.editorconfigin sub directories experimentalTernariesandexperimentalOperatorPositionoptions
Note: Default printWidth is 100 (Prettier uses 80).
Prettier plugins
Not supported. However, Oxfmt provides built-in alternatives:
experimentalSortImports- Based on
eslint-plugin-perfectionist/sort-imports - Disabled by default
- Based on
experimentalSortPackageJson- Based on
prettier-plugin-packagejson - Enabled by default
- Based on
experimentalTailwindcss- Based on
prettier-plugin-tailwindcss - Disabled by default
- Based on
See Configuration file reference for details.
Embedded template literals
Not fully implemented. See:
oxfmt: embedded formatting full support (aka xxx-in-js) · Issue #15180 · oxc-project/oxc
https://github.com/oxc-project/oxc/issues/15180
