fix eslint warnings
revert dot-notation warnings
Merge pull request #1987 from maxbeatty/fix-warnings

fix eslint warnings