[![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]
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
You can go to the editor settings and search
eslint
and disable the checkbox ofControls 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 eslint rules.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.