Skip to content

hypernym-studio/oxfmt-config

Repository files navigation

@hypernym/oxfmt-config

Hypernym's internal config for OXFmt.

Repository | Package | Releases | Discussions


pnpm add -D @hypernym/oxfmt-config

Usage

Formatting Commands

Add a format command for manual formatting (optional):

// package.json

{
  "scripts": {
    "format": "oxfmt"
  }
}

Default Config

// oxfmt.config.ts

export { default } from '@hypernym/oxfmt-config'

Custom Setup

// oxfmt.config.ts

import {
  defineConfig,
  defaultConfig,
  ignorePatterns,
} from '@hypernym/oxfmt-config'

export default defineConfig({
  ...defaultConfig,
  singleQuote: false,
  ignorePatterns: [...ignorePatterns, '**/dir/', '**/file.ts'],
  // ...
})

License

Developed in 🇭🇷 Croatia, © Hypernym Studio.

Released under the MIT license.

About

Hypernym's internal config for OXFmt.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors