Stevus Stevus - 2 months ago 31
React JSX Question

ES6 React & ESLint Support

Writing a ES6 Flux/React app and wanting to use ESLint as well as Jest, however doesnt seem to be that much support/literature on the subject.

I realize I could transpile the ES6 code and run the Linting/Jesting on that codebase, but it wouldn't help me find the issue in the ES6 code. Is there any package out there that would accomplish what I'm trying to do, or is this something Facebook/React still needs to work out?


Use ESLint for linting your code base and use this plugin for jest. You will be able to run linting on your ES6 code but Jest will transpile before running the tests.