What version of Oxlint are you using?
1.59.0
What command did you run?
oxlint -c .oxlintrc.json
What does your .oxlintrc.json (or oxlint.config.ts) config file look like?
What happened?
Let's take those files:
a.js:
import './b.js';
import './c.js';
export const name = 'a';
b.js:
import './a.js';
export const name = 'b';
c.js:
import './a.js';
export const name = 'c';
When running oxlint on a.js:

If I update a.js:
+ // oxlint-disable-next-line import/no-cycle
import './b.js';
import './c.js';
export const name = 'a';
I got:
Which is wrong since the second import contains a circular dep. Saying I update again a.js:
- // oxlint-disable-next-line import/no-cycle
- import './b.js';
import './c.js';
export const name = 'a';

What version of Oxlint are you using?
1.59.0
What command did you run?
oxlint -c .oxlintrc.json
What does your
.oxlintrc.json(oroxlint.config.ts) config file look like?{ "plugins": ["import"], "rules": { "import/no-cycle": "error" } }What happened?
Let's take those files:
a.js:
b.js:
c.js:
When running oxlint on

a.js:If I update
a.js:+ // oxlint-disable-next-line import/no-cycle import './b.js'; import './c.js'; export const name = 'a';I got:
Which is wrong since the second import contains a circular dep. Saying I update again
a.js: