After eslint adds typescript check, there will be an error when the attribute variable in the class definition is Array.
If someone are still having the issue, I add "extends": ["eslint:recommended", "plugin:react/recommended"], on the .eslintrc.json file and the problem get solved.
"extends": ["eslint:recommended", "plugin:react/recommended"],