As I have already installed babel-eslint
,eslint-plugin-react
and eslint-plugin-es
in my project and config them in .eslintrc
, it seems like most of the strange problems eslint output before has been gone.But here is still one problem which makes me very confused. Here is a function in one of my React component:
mouseMove = (e) => {
window.onmousemove = (e) => {
// ...
};
}
'e' is declared but never used(no-unuesd-vars)