You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In /whitespace.js a subprocess is launched to print out the rules in JSON and the JSON response is parsed.
If ESLint is being run with TIMING=1, it prints how much time each rule takes, and because the linked child process invocation is forwarding the env as-is, it's json parsing will fail and the process breaks down.
Here's the patch I'm using internally. Happy to upstream if it looks good to y'all
In
/whitespace.js
a subprocess is launched to print out the rules in JSON and the JSON response is parsed.If ESLint is being run with
TIMING=1
, it prints how much time each rule takes, and because the linked child process invocation is forwarding the env as-is, it's json parsing will fail and the process breaks down.Here's the patch I'm using internally. Happy to upstream if it looks good to y'all
The text was updated successfully, but these errors were encountered: