google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

Additional JSHint property: failThreshold #688

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be good to support the following as configuration property for the  
JSHint goal:

failThreshold: (Defaults to 1) A number specifying the amount of errors to 
cause a build failure when exceeded. This is very important for projects 
wanting to integrate the JS linter late in the game when the error count is 
already high (say 2000) but want to start on a progressive code quality 
enhancement strategy. Another important reason is when some of the code being 
checked is 3rd party code you don't want to modify.

Thanks,
Simo

Original issue reported on code.google.com by simo.mou...@gmail.com on 8 Mar 2013 at 6:23

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 9 Mar 2013 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 10 Mar 2013 at 7:46

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.6.x.
Added failThreshold property (Default to 0, meaning that no error is tolerated 
by default).

Original comment by alex.obj...@gmail.com on 10 Mar 2013 at 10:09