rwjblue / broccoli-jshint

MIT License
6 stars 30 forks source link

Option for breaking build and showing JSHint errors in browser #13

Closed exdis closed 9 years ago

exdis commented 9 years ago

This option allows you to show error not only in the console , but also in your browser. So you do not miss any lints that you could make.

rwjblue commented 9 years ago

The idea with the test generation is that when these tests are ran in the browser they will fail. Causing any CI system you run to fail the build.

If instead you want it to throw in the final build, you could implement a custom test generator function that throws as you have here.

exdis commented 9 years ago

You're right! Can you give me more information about test generation in broccoli.js? Thanks!