@retn0/oxfmt-config
v0.1.0
Published
My personal Oxfmt configuration
Downloads
170
Maintainers
Readme
@retn0/oxfmt-config
My personal Oxfmt configuration.
Requirements
Installation
# npm
npm install -D oxfmt @retn0/oxfmt-config
# pnpm
pnpm add -D oxfmt @retn0/oxfmt-config
# yarn
yarn add -D oxfmt @retn0/oxfmt-configUsage
Create an oxfmt.config.ts file in the root of your project:
import config from '@retn0/oxfmt-config';
import { defineConfig } from 'oxfmt';
export default defineConfig(config);Spread the shared config when you need local overrides:
import config from '@retn0/oxfmt-config';
import { defineConfig } from 'oxfmt';
export default defineConfig({
...config,
sortTailwindcss: {
functions: ['cn', 'clsx', 'cva'],
},
});License
MIT © nbsp1221
