From fdea907b85286c223267fd2250526446f0480f33 Mon Sep 17 00:00:00 2001 From: Justin Ross Date: Wed, 2 Aug 2017 10:37:04 -0700 Subject: [PATCH] Increase max lint errors The lint error limit of 999 is preventing use of this dependency in large codebases. I have increased the limit to 9999. This is still a magic and arbitrary number, and it's very possible this limit will need to be revisited in the future. --- lib/codegen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codegen.js b/lib/codegen.js index 6a7ded09..31ce92b6 100644 --- a/lib/codegen.js +++ b/lib/codegen.js @@ -284,7 +284,7 @@ var getCode = function(opts, type) { strict: true, trailing: true, smarttabs: true, - maxerr: 999 + maxerr: 9999 }; if (opts.esnext) { lintOptions.esnext = true;