Skip to content

no-unused-vars issue #885

Answered by kentcdodds
lukasa1993 asked this question in Q&A
Nov 18, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Here's how it's configured: https://github.com/epicweb-dev/config/blob/a38c8d04f3dff908dbc0f6b48dcd4377b8704a55/eslint.js#L116-L124

Prefix the variable with an underscore and that'll do it.

I'm not certain what the code looks like that you're trying to do this with so it's hard for me to help.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lukasa1993
Comment options

@kentcdodds
Comment options

@lukasa1993
Comment options

@kentcdodds
Comment options

Answer selected by lukasa1993
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants