This removes the syntax/runtime objects that are unavailable in Node 4 from the codebase. It also adds eslint-plugin-node to ensure that all syntax is supported on Node 4.
I wasn't sure whether you preferred having a build step and keeping the syntax modern, or avoiding a build step and not using things like destructuring. In either case, some modification to the code would be necessary, because there is one place where the code used Proxy, which isn't possible to transpile.
Hello :wave:
This removes the syntax/runtime objects that are unavailable in Node 4 from the codebase. It also adds
eslint-plugin-node
to ensure that all syntax is supported on Node 4.I wasn't sure whether you preferred having a build step and keeping the syntax modern, or avoiding a build step and not using things like destructuring. In either case, some modification to the code would be necessary, because there is one place where the code used
Proxy
, which isn't possible to transpile.(refs https://github.com/eslint/eslint/pull/8422)