Open adokce opened 5 years ago
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?
Possibly remove './shared/react.js' from https://github.com/expo/eslint-config-universe/blob/6cdd359c19ab200a65c27c2de249b9e884fa06c2/node.js#L2
'./shared/react.js'
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:
and I made the following .eslintrc.js file:
The following from ESLint message got me confused. Why is it trying to detect react version when I specified universe/node?
Possibly remove
'./shared/react.js'
from https://github.com/expo/eslint-config-universe/blob/6cdd359c19ab200a65c27c2de249b9e884fa06c2/node.js#L2