@froko/oxfmt-config
v3.1.0
Published
Shareable oxfmt configuration
Readme
📦 @froko/oxfmt-config
📥 Installation
npm install --save-dev @froko/oxfmt-config oxfmt
yarn add --dev @froko/oxfmt-config oxfmt
pnpm install --save-dev @froko/oxfmt-config oxfmt🔩 Usage
// oxfmt.config.ts
import config from '@froko/oxfmt-config'
export default configOr with custom overrides:
// oxfmt.config.ts
import config from '@froko/oxfmt-config'
import { defineConfig } from 'oxfmt'
export default defineConfig({
...config,
// your overrides
})📝 Content
{
"semi": false,
"singleQuote": true,
"bracketSameLine": true,
"printWidth": 80,
"sortImports": {},
"overrides": [
{
"files": ["*.md"],
"options": {
"proseWrap": "always"
}
}
]
}There are no settings for indentation and line length. Oxfmt inherits those
settings from .editorconfig.
Here you can
find an example configuration.
