Setup eslint
for TypeScript and resolve all errors
#4046
Merged
eslint
for TypeScript and resolve all errors
#4046