First install the JSHint package for Atom.

At the base of your project you’ll need a .jshintrc file. It should enable ES6.

{
"esversion" : 6
}

Then under Atom -> Open Your Config add the following:

jshint:
supportLintingJsx: true