Skip to content

☂️ eslint-plugin-next #1929

@camc314

Description

@camc314

Warning

This comment is maintained by CI. Do not edit this comment directly.
To update comment template, see https://github.com/oxc-project/oxc/tree/main/tasks/lint_rules

This is the tracking issue for @next/eslint-plugin-next.

There are 21(+ 0 deprecated) rules.

  • 0/21 recommended rules are remaining as TODO
    • 2 of which have pending fixes
    • All done! 🎉
  • 0/0 not recommended rules are remaining as TODO
    • All done! 🎉

To get started, run the following command:

just new-nextjs-rule <RULE_NAME>

Then register the rule in crates/oxc_linter/src/rules.rs and also declare_all_lint_rules at the bottom.

Recommended rules

✅: 21, 🚫: 0, ⏳: 2 / total: 21
Status Name
nextjs/google-font-display
nextjs/google-font-preconnect
nextjs/inline-script-id
nextjs/next-script-for-ga
nextjs/no-assign-module-variable
nextjs/no-async-client-component
nextjs/no-before-interactive-script-outside-document
nextjs/no-css-tags
nextjs/no-document-import-in-page
nextjs/no-duplicate-head
nextjs/no-head-element
nextjs/no-head-import-in-document
nextjs/no-html-link-for-pages
✅⏳ nextjs/no-img-element
nextjs/no-page-custom-font
nextjs/no-script-component-in-head
nextjs/no-styled-jsx-in-document
nextjs/no-sync-scripts
nextjs/no-title-in-document-head
✅⏳ nextjs/no-typos
nextjs/no-unwanted-polyfillio

✅ = Implemented, 🚫 = No need to implement, ⏳ = Fix pending

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions