Is there a way to turn off the unused var warning in all of the files React files in Vs Code. ??
CodePudding user response:
This probably has to do with linting, Maybe this can help you no-unused-vars
You can also disable linting on one line
// eslint-disable-next-line no-unused-vars
const [edit, setEdit] = useState({...})