How to enable custom ESLint rules in Blitz? #2529
Answered
by
flybayer
skorotkiewicz
asked this question in
Q&A
-
|
I want to activate ESLint in VScode to show me a warning if there is an unused variable, like in another React project, unfortunately ESLint in Blitz does not warn me about unused variables. My |
Beta Was this translation helpful? Give feedback.
Answered by
flybayer
Jun 23, 2021
Replies: 1 comment 1 reply
-
|
What blitz version do you have? In a 0.38 project this works for me: module.exports = {
extends: ["blitz"],
rules: {
"no-unused-vars": "warn",
"no-empty": "off",
},
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
skorotkiewicz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What blitz version do you have? In a 0.38 project this works for me: