Usually certain Grunt tasks have the option to "fail on warning", making it possible to put it as a step in your build process.
I am looking at JSBeautifier but it seems like there is no option.
Any suggestions on how we can make our build fail, if a JavaScript file gets formatted by JSBeautifier a build step?
https://www.npmjs.com/package/grunt-jsbeautifier#options-mode-optional