Skip to content

Latest commit

 

History

History

oxfmt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@btravstack/oxfmt

Shared oxfmt settings for btravstack packages.

oxfmt has no extends mechanism. Unlike the other packages here, this one is a copy-template, not something you inherit at runtime. It exists so the canonical settings live in one versioned place; copy them into your repo.

pnpm add -D @btravstack/oxfmt oxfmt

Copy node_modules/@btravstack/oxfmt/base.json into your .oxfmtrc.json and add repo-specific ignorePatterns:

// .oxfmtrc.json
{
  "$schema": "./node_modules/oxfmt/configuration_schema.json",
  "ignorePatterns": ["pnpm-lock.yaml"],
  "sortImports": true,
}

MIT © Benoit Travers