We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oxlint not working with .oxlintrc.json config.
Command npx oxlint -c .oxlintrc.json not found any cycle
Config example:
{ "rules": { "import/no-cycle": "error" } }
npx oxlint --import-plugin -A all -D no-cycle working fine
npx oxlint --import-plugin -A all -D no-cycle × eslint-plugin-import(no-cycle): Dependency cycle detected ╭─[src/test.ts:1:23] 1 │ import { test2 } from "./App"; · ─────── 2 │ ╰──── help: These paths form a cycle: -> ./App - src/App.tsx -> ./test - src/test.ts × eslint-plugin-import(no-cycle): Dependency cycle detected ╭─[src/App.tsx:4:22] 3 │ import "./App.css"; 4 │ import { test } from "./test"; · ──────── 5 │ console.log(test()); ╰──── help: These paths form a cycle: -> ./test - src/test.ts -> ./App - src/App.tsx Finished in 8ms on 5 files with 1 rules using 10 threads. Found 0 warnings and 2 errors.
The text was updated successfully, but these errors were encountered:
Try npx oxlint -c .oxlintrc.json --import-plugin
npx oxlint -c .oxlintrc.json --import-plugin
@DonIsaac It seems unintuitive that --import-plugin needs to be supplied here along with -c 🤔
--import-plugin
-c
Sorry, something went wrong.
I agree, having plugins enabled in configs will assuage this.
Let's improve the documentation a little bit before closing.
64f9575
Boshen
No branches or pull requests
oxlint not working with .oxlintrc.json config.
Command npx oxlint -c .oxlintrc.json not found any cycle
Config example:
npx oxlint --import-plugin -A all -D no-cycle working fine
The text was updated successfully, but these errors were encountered: