Skip to content

docs: correct typo for no-console rule#457

Closed
jackholden wants to merge 1 commit intooxc-project:mainfrom
jackholden:patch-1
Closed

docs: correct typo for no-console rule#457
jackholden wants to merge 1 commit intooxc-project:mainfrom
jackholden:patch-1

Conversation

@jackholden
Copy link

@jackholden jackholden commented Aug 18, 2025

When adding the following to .oxlintrc.json:

    "no-console": [
      "error",
      {
        "allow": [
          "info"
        ]
      }
    ],

console.info("foo"); would be allowed.

Docs for the code example above state: Example of incorrect code for this option:

@netlify
Copy link

netlify bot commented Aug 18, 2025

Deploy Preview for oxc-project ready!

Name Link
🔨 Latest commit 71b2192
🔍 Latest deploy log https://app.netlify.com/projects/oxc-project/deploys/68a30e639e6f0b0008bd6fb4
😎 Deploy Preview https://deploy-preview-457--oxc-project.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@camc314
Copy link
Contributor

camc314 commented Aug 18, 2025

thanks, these docs are generated from the main repo, i've made a PR there

graphite-app bot pushed a commit to oxc-project/oxc that referenced this pull request Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants