How to use OXC in VS Code with nested config files? #6333
Unanswered
daronspence
asked this question in
Q&A
Replies: 2 comments
-
I also installed oxc extension but I cannot use it. 😭 I created a question at here. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nested configuration isn’t supported yet. It is listed as a feature expected to be available before the Oxlint beta #5653. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
New to a lot of JS toolchain stuff so apologies if this is a dumb question.
I have a Laravel monorepo with 8 different apps. On our customer facing application, I want to enable OXC for linting of JS/Vue files. The documentation describes OXC as "no config" but I'm having issues making any of it work at all.
I installed the extension into VS Code. I do NOT have the Eslint extension enabled. Is that also required? Do I need an extra extension to get the squigglies to appear?
If I run
npx oxlint@latest
from the root of my customer applicatin, it does work as expected, but I get zero feedbackonType
oronSave
when modifying.vue
or.js
files.The
oxc_language_server
output has no errors and even after enabling tracing in the extension settings and restarting, I see nothing in the trace output either. My config file is located at/Users/daron/Work/project/Client-Application/.oxlintrc.json
but I have theproject
folder open at the root of my workspace. If I open just theClient-Application
as a standalone project, it still doesn't work.Here is my
oxlintrc.json
config:I tried writing the following code in a
.vue
component and expected to at least see some errors re: the==
usage. Unfortuantely, I see no errors. If I run the CLI command, I do see those lines in the output.Happy to provide more details. I saw the presentation at Vite Conf and wanted to give it a shot!
Beta Was this translation helpful? Give feedback.
All reactions