Skip to content

yungezeit/oxc-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@yungezeit/oxc-config

Warning This repository is not distributed as a package

This repository gathers a collection of pre-defined OXC configurations.

Linter

Install

pnpm i -D oxlint oxlint-tsgolint

You might want to set the following within your .vscode/settings.json file:

{
  "oxc.typeAware": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.oxc": "always"
  },
}

You might also want to add the following script withing your package.json:

{
  //
  "scripts": {
    //
    "lint": "oxlint --type-aware"
  }
}

Formatter

Install

pnpm i -D oxfmt

You 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"
  }
}

About

Personal OXC configs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors