Skip to content

☂️ eslint-plugin-import #1117

@Boshen

Description

@Boshen

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 eslint-plugin-import.

There are 45(+ 1 deprecated) rules.

  • 0/8 recommended rules are remaining as TODO
    • 1 of which have pending fixes
    • All done! 🎉
  • 9/37 not recommended rules are remaining as TODO
    • 3 of which have pending fixes

To get started, run the following command:

just new-import-rule <RULE_NAME>

Then implement the rule and get all the tests passing.

Recommended rules

✅: 7, 🚫: 1, ⏳: 1 / total: 8
Status Name Rationale
import/default
import/export
import/named
import/namespace
✅⏳ import/no-duplicates
import/no-named-as-default
import/no-named-as-default-member
🚫 import/no-unresolved Will always contain false positives due to module resolution complexity.

✅ = Implemented, 🚫 = Not intending to implement, ⏳ = Fix pending

Not recommended rules

✅: 25, 🚫: 3, ⏳: 3 / total: 37
Status Name Rationale
import/consistent-type-specifier-style
import/dynamic-import-chunkname
🚫 import/enforce-node-protocol-usage No need to implement, already implemented by unicorn/prefer-node-protocol.
import/exports-last
import/extensions
✅⏳ import/first
import/group-exports
import/max-dependencies
import/newline-after-import
✅⏳ import/no-absolute-path
import/no-amd
import/no-anonymous-default-export
import/no-commonjs
import/no-cycle
import/no-default-export
🚫 import/no-deprecated No need to implement, already implemented by typescript/no-deprecated via tsgolint.
import/no-dynamic-require
import/no-empty-named-blocks
import/no-extraneous-dependencies
import/no-import-module-exports
🚫 import/no-internal-modules Not necessary to implement this rule as we already have eslint/no-restricted-imports, which is able to cover the same use-cases.
import/no-mutable-exports
import/no-named-default
import/no-named-export
✅⏳ import/no-namespace
import/no-nodejs-modules
import/no-relative-packages
import/no-relative-parent-imports
import/no-restricted-paths
import/no-self-import
import/no-unassigned-import
import/no-unused-modules
import/no-useless-path-segments
import/no-webpack-loader-syntax
import/order
import/prefer-default-export
import/unambiguous

✅ = Implemented, 🚫 = Not intending to implement, ⏳ = Fix pending

Deprecated rules

✅: 0, 🚫: 1, ⏳: 0 / total: 1
Status Name Rationale
🚫 import/imports-first Replaced by import/first, which we support.

✅ = Implemented, 🚫 = Not intending to implement, ⏳ = Fix pending

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions