🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@mintlify/oxfmt-config

Package Overview
Dependencies
Maintainers
8
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintlify/oxfmt-config

Mintlify's Oxfmt configuration

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
8
Created
Source

@mintlify/oxfmt-config

Mintlify's Oxfmt configuration, ported from the existing Prettier configuration.

Installation

npm install --save-dev @mintlify/oxfmt-config

Usage

Create an oxfmtrc.json in your project root:

{
  "extends": "@mintlify/oxfmt-config"
}

Or reference the config directly when running oxfmt:

oxfmt -c node_modules/@mintlify/oxfmt-config/oxfmtrc.json

Settings

This configuration matches the Prettier settings:

  • 2 space indentation
  • 100 character line width
  • Single quotes
  • ES5 trailing commas
  • Arrow function parens always
  • Bracket spacing enabled
  • Import sorting enabled with groups for @mintlify, other third-party (@?\\w), @/ aliases, then relative paths (mirrors @trivago/prettier-plugin-sort-imports)

Tailwind class sorting from prettier-plugin-tailwindcss is not available in Oxfmt yet; if it ships in Oxfmt we can add it here for full parity.

Keywords

oxfmt

FAQs

Package last updated on 02 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts