Warning This repository is not distributed as a package
This repository gathers a collection of pre-defined OXC configurations.
Install
pnpm i -D oxlint oxlint-tsgolintYou might want to set the following within your .vscode/settings.json file:
You might also want to add the following script withing your package.json:
{
// …
"scripts": {
// …
"lint": "oxlint --type-aware"
}
}Install
pnpm i -D oxfmtYou might want to set the following within your .vscode/settings.json file:
{
"editor.defaultFormatter": "oxc.oxc-vscode",
"oxc.fmt.experimental": true,
}You might also want to add the following script withing your package.json:
{
// …
"scripts": {
// …
"format": "oxfmt"
}
}
{ "oxc.typeAware": true, "editor.codeActionsOnSave": { "source.fixAll.oxc": "always" }, }