Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add "env" config to package.json #371
I personally prefer tape, but that's just me.
Anyway, IMHO this is most certainly doable. Eslint itself has support for environments defined here: http://eslint.org/docs/user-guide/configuring#specifying-environments. These look particularly useful:
node test.js # run in node.js hihat test.js # run in electron (hihat is browserify-aware) budo test.js # run in browser (budo is, too) browserify test.js | smokestack -b firefox # run in headless browser