I am using Atom\'s linter, react, and linter-jshint/linter-jsxhint. In my JSX files, I keep getting the warning
linter
react
linter-jshint
linter-jsxhint
You can create a .jshintrc in your project folder, it will be read by the linter as a json source file.
.jshintrc
To use esnext option,
{ "esnext": true }
You will probably need to reopen your JS file to be able to see the new changes.