elm-lang / elm-make

A build tool for Elm projects
BSD 3-Clause "New" or "Revised" License
175 stars 45 forks source link

Report warnings as errors #108

Closed zgraggen closed 8 years ago

zgraggen commented 8 years ago

It would be nice if there was a flag for elm-make to force warnings to fail the build. Warning often help to keep the code clean and maintainable. Since elm-make provides --warn I don't see a reason why there isn't a flag to fail the build for that.

Or maybe, if --warn is on just exit the build with an error code. Why else would you request warnings?

process-bot commented 8 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

ericbmerritt commented 8 years ago

This would be something like warnings as errors, in various other compilers.

evancz commented 8 years ago

Tracking in https://github.com/elm-lang/elm-make/issues/98