Skip to content
New issue

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

linter: Can't ignore octal literals error #9718

Closed
huangtiandi1999 opened this issue Mar 12, 2025 · 1 comment
Closed

linter: Can't ignore octal literals error #9718

huangtiandi1999 opened this issue Mar 12, 2025 · 1 comment
Labels
A-linter Area - Linter

Comments

@huangtiandi1999
Copy link
Contributor

What version of Oxlint are you using?

0.15.14

What command did you run?

oxlint -c .oxlintrc.t.json --quiet

What does your .oxlintrc.json config file look like?

{
  "ignorePatterns": ["node_modules/*"],
  "plugins": ["import"],
  "rules": {
    "func-style": ["error", "expression"],
  }
}

What happened?

Here are the steps that cause the error to occur

  1. run npm i qrcode-terminal to download qrcode-terminal
  2. import * as foo from 'qrcode-terminal' In any js file
  3. oxlint -c .oxlintrc.t.json --quiet

Image

I don't think this error should exposed by oxlint, and when I removed the import plugin it was fine

@huangtiandi1999 huangtiandi1999 added the A-linter Area - Linter label Mar 12, 2025
@Boshen
Copy link
Member

Boshen commented Mar 12, 2025

Fixed by #9383

@Boshen Boshen closed this as completed Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter
Projects
None yet
Development

No branches or pull requests

2 participants