summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-03 16:50:25 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-03 16:50:25 +1000
commitc3ea98864c5ee7535f40704b28229dbad676d2fb (patch)
treed574e96beda1b119703f3e78ded50c0eedf05eed
parent48b5ebfac37a9d0e4c3622530121e28a50a38a38 (diff)
downloadfengari-c3ea98864c5ee7535f40704b28229dbad676d2fb.tar.gz
fengari-c3ea98864c5ee7535f40704b28229dbad676d2fb.tar.bz2
fengari-c3ea98864c5ee7535f40704b28229dbad676d2fb.zip
Removed unused imports; add jshint unused warning
-rw-r--r--.jshintrc3
-rw-r--r--src/lauxlib.js1
-rw-r--r--src/ltablib.js1
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');
/*