I don't have a problem with this option, but I would like to suggest a stricter implementation of it's behavior.
Instead of broadly catching the substring "Sync", limit it to catch functions that *end* with "Sync", since all blocking Node methods appear use this convention.
Matching the end will also stop it catching false positives. For example, the completion event handler for an asynchronous synchronize action, i.e. "onGroupSyncComplete".
Hope you agree.
--- In email@example.com, "douglascrockford" <douglas@...> wrote:
> JSLint now warns when properties contain the substring 'Sync'. The use of that substring in Nodejs is to identify methods that can cause blockage. Such methods should never be used.
> These useful warnings can be suppressed by using the new Tolerate stupidity option.