Expected Behavior
Running npm install -g eslint eslint-config-fullstack eslint-plugin-react babel-eslint and creating the file ~/.eslintrc.json with the following contents:
{
"extends": "fullstack",
"parser": "babel-eslint",
"rules": {
"semi": [1, "always"]
}
}
Will make eslint work, as per the instructions in the workshop.
Actual Behavior
Running eslint generates the following error message:
Oops! Something went wrong! :(
ESLint: 6.0.1.
ESLint couldn't find the config "fullstack" to extend from. Please check that the name of the config is correct.
The config "fullstack" was referenced from the config file in "/Users/joshua/.eslintrc.json".
If you still have problems, please stop by https://gitter.im/eslint/eslint to chat with the team.
Temporary Workaround
Downgrading eslint to version 5.0.1 works. I modified the instructions to:
npm install -g eslint@5.0.1 eslint-config-fullstack eslint-plugin-react babel-eslint
And everything worked perfectly.
Expected Behavior
Running
npm install -g eslint eslint-config-fullstack eslint-plugin-react babel-eslintand creating the file~/.eslintrc.jsonwith the following contents:Will make eslint work, as per the instructions in the workshop.
Actual Behavior
Running
eslintgenerates the following error message:Temporary Workaround
Downgrading
eslintto version 5.0.1 works. I modified the instructions to:npm install -g eslint@5.0.1 eslint-config-fullstack eslint-plugin-react babel-eslintAnd everything worked perfectly.