@wanner.work/oxfmt-rules
Options
All configuration options shipped by @wanner.work/oxfmt-rules.
The recommended option set is enabled by default. The tables below show the
default value for each option. You only need to specify the values you want to
change when you call defineConfigWithRules.
Layout
| Option | Default |
|---|---|
printWidth | 80 |
semi | false |
trailingComma | 'none' |
singleQuote | true |
Sorting
| Option | Default |
|---|---|
sortPackageJson | true |
sortImports | newlinesBetween: false with custom group ordering |
sortImports groups
Imports are sorted in the following order, with a blank line between the
unknown and style groups:
builtinexternalinternal,subpathparent,sibling,indexunknownstyle