@kasoa/oxfmt-config
v0.0.5
Published
Kasoa's Oxfmt configurations
Readme
@kasoa/oxfmt-config
Kasoa's Oxfmt configurations
Installation
pnpm add -D @kasoa/oxfmt-config oxfmtUsage
Oxfmt uses JSON config files. Point Oxfmt to the shared config via -c.
Base Config
For general JavaScript/TypeScript projects:
{
"scripts": {
"format": "oxfmt -c ./node_modules/@kasoa/oxfmt-config/dist/src/base/index.json ."
}
}React Config
For React applications:
{
"scripts": {
"format": "oxfmt -c ./node_modules/@kasoa/oxfmt-config/dist/src/react/index.json ."
}
}Configurations
base: Core Oxfmt settings with import sorting groups.react: React-oriented Oxfmt settings that extend base.
Author
Emmanuel Chucks
https://github.com/emmanuelchucks
License
MIT
