[v14.x backport] lint rules for globals
This should unblock https://github.com/nodejs/node/pull/39446, and should help notice uncompatible backports (lib/child_process.js
was using AbortController
as a global, but it's not available as a global on v14.x...).
Backports: