Skip to content

How to use OXC in VS Code with nested config files? #6333

Closed Answered by Sysix
daronspence asked this question in Q&A
Discussion options

You must be logged in to vote

I think you have a problem with your VSCode Setup.

As a default the oxc plugin looks at a file named .eslintrc. You need to override it in your settings.json:

{ "oxc.enable": true, "oxc.configPath": "oxlintrc.json" }

⚠️ You need to restart VSCode to apply the changes

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@markEHVN
Comment options

Answer selected by daronspence
Comment options

You must be logged in to vote
1 reply
@nrayburn-tech
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants