From c66f086245405ac5ceb862cdea060a7b62c0715f Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 28 Aug 2019 13:31:12 +0300 Subject: [PATCH] Fix jshint complaints about arrows; attempt importing code as part of test --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0b72dba..84d9efe 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "scripts": { "install": "node-pre-gyp install --fallback-to-build", - "test": "jshint lib/*.js" + "test": "jshint lib/*.js && node ." }, "binary": { "module_name": "binding", @@ -46,5 +46,8 @@ "host": "https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/", "package_name": "{module_name}-{version}-{node_abi}-{platform}-{arch}.tar.gz", "remote_path": "{version}" + }, + "jshintConfig": { + "esversion": 6 } }