Why am I getting a ‘no-unused-vars’ warning in a for…of loop and how do I fix it?
Please upgrade the babel-eslint package to version 10.0.3. This will most likely fix those false-positives where vars are used inside loops and wrongly reported as unused.