From c3ea98864c5ee7535f40704b28229dbad676d2fb Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 3 May 2017 16:50:25 +1000 Subject: Removed unused imports; add jshint unused warning --- .jshintrc | 3 ++- src/lauxlib.js | 1 - src/ltablib.js | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.jshintrc b/.jshintrc index e64eb7e..77a397d 100644 --- a/.jshintrc +++ b/.jshintrc @@ -2,5 +2,6 @@ "node": true, "esversion": 6, "indent": false, + "unused": true, "white": false -} \ No newline at end of file +} diff --git a/src/lauxlib.js b/src/lauxlib.js index 9940c77..0491de5 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -1,7 +1,6 @@ /*jshint esversion: 6 */ "use strict"; -const lapi = require('./lapi.js'); const lua = require('./lua.js'); const linit = require('./linit.js'); diff --git a/src/ltablib.js b/src/ltablib.js index 929cf4b..7d16b25 100644 --- a/src/ltablib.js +++ b/src/ltablib.js @@ -4,7 +4,6 @@ const lua = require('./lua.js'); const lapi = require('./lapi.js'); const lauxlib = require('./lauxlib.js'); const llimit = require('./llimit.js'); -const ltable = require('./ltable.js'); /* -- cgit v1.2.3-70-g09d2