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

fix: prepare for no-unused-vars #4462

Merged

Commits on Jul 30, 2024

  1. fix: prepare for no-unused-vars

    Oxlint's [no-unused-vars](oxc-project/oxc#4445) PR will
    be merged soon. This PR updates `oxlint.json` to support some limitations of its
    implementation.
    
    - `@jsx` pragmas are not currently recognized as a usage, so `createElement` has
      been added to `varsIgnorePattern`
    - `Fragment` imports used via `<></>` syntax is not recognized as a usage, so
      `Fragment` has been added to `varsIgnorePattern`
    
    Note that there are still some unused variables and catch parameters that, when
    `no-unused-vars` gets merged, will cause lint CI to fail.
    DonIsaac committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    3b26fc8 View commit details
    Browse the repository at this point in the history