Skip to content
This repository was archived by the owner on Sep 17, 2021. It is now read-only.
This repository was archived by the owner on Sep 17, 2021. It is now read-only.

Eslint assumed latest React version but I use universe/node config #22

@adokce

Description

@adokce

I have initialized a node project. I saw eslint-config-universe and thought of using it for my node lint config.

I have installed the required dependencies:

"devDependencies": {
    "eslint-config-universe": "^2.0.0",
    "@typescript-eslint/eslint-plugin": "^2.3.1",
    "@typescript-eslint/parser": "^2.3.1",
    "eslint": "^6.4.0",
    "prettier": "^1.18.2",
    "typescript": "^3.6.3"
  }

and I made the following .eslintrc.js file:

module.exports = {
  extends: "universe/node"
};

The following from ESLint message got me confused. Why is it trying to detect react version when I specified universe/node?

image

Possibly remove './shared/react.js' from

extends: ['./shared/core.js', './shared/react.js', './shared/prettier.js'],

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