no-unused-vars issue #885
Answered
by
kentcdodds
lukasa1993
asked this question in
Q&A
-
i am getting warning |
Beta Was this translation helpful? Give feedback.
Answered by
kentcdodds
Nov 20, 2024
Replies: 1 comment 4 replies
-
Here's how it's configured: https://github.com/epicweb-dev/config/blob/a38c8d04f3dff908dbc0f6b48dcd4377b8704a55/eslint.js#L116-L124
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. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
lukasa1993
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.