-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Using ... I'm always getting the following error
1:1 error Definition for rule 'react/state-in-constructor' was not found react/state-in-constructor;
My .eslintrc file currently is as follows:
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": ["react"],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react/state-in-constructor": 2
},
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true,
"jest": true
}
}Version of dependencies are:
├── [email protected]
├── [email protected]
└── [email protected]
Metadata
Metadata
Assignees
Labels
No labels