Updated answer for 2016: just install the react package in Atom and add a .eslintrc
file in your project root (or in your home dir) containing the following:
{
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true
}
}
And re-open any files containing JSX and it should work.