-
Notifications
You must be signed in to change notification settings - Fork 510
Eliminate total error count #238
Comments
Combine JsHint and JSCS rule and cleanup excludeFiles. Hack to stop <xml and more than 500 errors. Revert Regex.
Could you provide some more details? What exactly is the problem you'd like to see addressed? What would a limit do, what should the limit configuration look like? |
JSJint has maxerr http://jshint.com/docs/options/#maxerr, just hope to work as it. I think this is a common feature, for any linters... Don't understand what you don't understand? |
|
+1 to this, I ran out of memory on a 2GB Continuous Integration Ubuntu machine while accidentally scanning external libraries (jquery and the such), which kept killing the machine completely |
@mikesherov Would this be supported via a cli option or via the config? I'd think the former to avoid complicating config parsing. |
Whatever it is, there should be a default for this to be useful. Jshint has 50. |
Default 50, supplied by either config or command line. |
Some thoughts after digging into this:
The only problem is that once we're in the execution context of Any objections/thoughts on these points? |
Implementing 1 & 2 seems good for now. Let someone complain about 3 before we fix it. Mike Sherov On Tue, Sep 30, 2014 at 11:17 PM, Joel Kemp notifications@github.com
|
Actually, much simpler: keep a static running tally of errors, and when the max is reached, On Wed, Oct 1, 2014 at 7:12 AM, Mike Sherov mike.sherov@gmail.com wrote:
|
Great idea!
|
Bigger js may generate too many errors. Hope to have a limit, even better to have a config.
The text was updated successfully, but these errors were encountered: