diff --git a/README.md b/README.md index 00dfac2c6..a9660ffd4 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,10 @@ How does it work? [`use-type-alias`]: ./sonarts-core/docs/rules/use-type-alias.md [`requires type-check`]: https://palantir.github.io/tslint/usage/type-checking/ +## Prerequisites + +Node.js (>=6.x). + ## Use in TSLint * If you don't have TSLint yet configured for your project follow [these instructions](https://github.com/palantir/tslint#installation--usage). diff --git a/sonarts-core/package.json b/sonarts-core/package.json index f04d9437e..bcc66ae68 100644 --- a/sonarts-core/package.json +++ b/sonarts-core/package.json @@ -33,6 +33,9 @@ "url": "https://github.com/SonarSource/SonarTS/issues" }, "homepage": "https://github.com/SonarSource/SonarTS", + "engines": { + "node": ">=6" + }, "dependencies": { "immutable": "^3.8.2" },