build: add oxfmt as a prettier replacement
This commit is contained in:
parent
d41180b42b
commit
87fc401898
1 changed files with 10 additions and 0 deletions
10
.oxfmtrc.jsonc
Normal file
10
.oxfmtrc.jsonc
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||||
|
"printWidth": 80, // Prettier domyślnie 80 — oxfmt domyślnie 100!
|
||||||
|
"tabWidth": 2,
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"arrowParens": "always",
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue