bcherny / tslint-no-circular-imports

TSLint plugin to detect and warn about circular imports
MIT License
86 stars 12 forks source link

Allow execution on node 5.x. Part of #4 #6

Closed andyrooger closed 6 years ago

andyrooger commented 6 years ago

Visual Studio 2017 comes bundled with node v5.4.1 (based on installs I've checked). This seems to be the default node version used for running npm, gulp and grunt tasks in the Task Runner Explorer, as well as typescript language service plugins.

This PR allows the plugin to run on node v5.

I've tested this on Node 6 with Gentoo Linux and Node 5 and 8 on Windows 10 (with #5 in place).