[![I am facing this issue help me to solve this. it always gives me an error Line 2:8: 'person' is defined but never used no-unused-vars.][1]][1]
CodePudding user response:
You can go to the editor settings and search eslint
and disable the checkbox of Controls whether eslint is enableed or not.
But that's not appritiated cause eslint gives you international code standard in some cases by applying eslint rule. If you want to know more please read
CodePudding user response:
In line 2 at the position 8, in the file App.js you declared a variable with the name "person" that you are not using in your code. Its a hint not an error,, by eslint. Go to this position and delete the declaration.