Skip to content

Conversation

@ohhheyyyy
Copy link

@ohhheyyyy ohhheyyyy commented Jan 7, 2024

Removes the ESLint error created and discussed at approximately 2:52 in the Context Q&A video under the Special Case React Tools section of the Complete Intro to React, v8 Frontend Masters course.

This PR adds:

"no-unused-vars": ["error", {
  "varsIgnorePattern": "^_"
}]

to the .eslintrc.json "rules" object.

which allows us to remove:

// eslint-disable-next-line no-unused-vars

from line 15 of the 14-context/src/Details.jsx file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant