Skip to content

Resolve error: unable to load resolver "node" codebox/sort-imports #2

Open
@MrSaints

Description

@MrSaints

Running ESLint (without fix) with eslint-plugin-codebox results in the following error for majority of files:

  1:1  error  Resolve error: unable to load resolver "node"  codebox/sort-imports

Most of the files starts with:

import React from "react";

The rules used are similar to that in the README:

        "codebox/sort-imports": ["error", {
          "groups": [
            "builtin",
            "external",
            "parent",
            "sibling",
            "index",
            ["unknown", "absolute"]
          ],
          "importTypes": [
            "default",
            "named",
            "all",
            "none"
          ],
          "ignoreCase": true
        }]

Environment:

Node: v8.9.0
ESLint: ^4.17.0
ESLint React: ^7.6.1
Babel ESLint: ^8.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions