diff options
-rw-r--r-- | .jshintrc | 7 | ||||
-rw-r--r-- | package.json | 7 | ||||
-rw-r--r-- | src/defs.js | 1 | ||||
-rw-r--r-- | src/lauxlib.js | 1 | ||||
-rw-r--r-- | src/ldebug.js | 1 | ||||
-rw-r--r-- | src/ldo.js | 1 | ||||
-rw-r--r-- | src/lfunc.js | 2 | ||||
-rw-r--r-- | src/llimit.js | 1 | ||||
-rw-r--r-- | src/lobject.js | 1 | ||||
-rw-r--r-- | src/lopcodes.js | 1 | ||||
-rw-r--r-- | src/lstate.js | 1 | ||||
-rw-r--r-- | src/ltable.js | 1 | ||||
-rw-r--r-- | src/ltm.js | 1 | ||||
-rw-r--r-- | src/lua.js | 1 | ||||
-rw-r--r-- | src/luaconf.js | 1 | ||||
-rw-r--r-- | src/lualib.js | 1 | ||||
-rw-r--r-- | src/lundump.js | 1 | ||||
-rw-r--r-- | src/lvm.js | 1 |
18 files changed, 8 insertions, 23 deletions
diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index 77a397d..0000000 --- a/.jshintrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node": true, - "esversion": 6, - "indent": false, - "unused": true, - "white": false -} diff --git a/package.json b/package.json index e09b3a5..8aaa972 100644 --- a/package.json +++ b/package.json @@ -40,5 +40,12 @@ "sprintf-js": "^1.1.1", "strftime": "^0.10.0", "tmp": "0.0.31" + }, + "jshintConfig": { + "node": true, + "esversion": 6, + "indent": false, + "unused": true, + "white": false } } diff --git a/src/defs.js b/src/defs.js index a125c34..4d5de3b 100644 --- a/src/defs.js +++ b/src/defs.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); diff --git a/src/lauxlib.js b/src/lauxlib.js index 68a975d..be11ba0 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const lua = require('./lua.js'); diff --git a/src/ldebug.js b/src/ldebug.js index 1c55264..3637b5d 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); diff --git a/src/lfunc.js b/src/lfunc.js index 7bf4769..b07b803 100644 --- a/src/lfunc.js +++ b/src/lfunc.js @@ -1,5 +1,5 @@ -/*jshint esversion: 6 */ "use strict"; + const assert = require('assert'); const defs = require('./defs.js'); diff --git a/src/llimit.js b/src/llimit.js index 31862d0..18824b2 100644 --- a/src/llimit.js +++ b/src/llimit.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const LUAI_MAXCCALLS = 200; diff --git a/src/lobject.js b/src/lobject.js index 32fdba5..895e310 100644 --- a/src/lobject.js +++ b/src/lobject.js @@ -1,4 +1,3 @@ - /*jshint esversion: 6 */ "use strict"; const assert = require('assert'); diff --git a/src/lopcodes.js b/src/lopcodes.js index ad555d7..ae4dbb1 100644 --- a/src/lopcodes.js +++ b/src/lopcodes.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const OpCodes = [ diff --git a/src/lstate.js b/src/lstate.js index 6cd906d..d09bebd 100644 --- a/src/lstate.js +++ b/src/lstate.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); diff --git a/src/ltable.js b/src/ltable.js index 53a5d79..f7b1167 100644 --- a/src/ltable.js +++ b/src/ltable.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const defs = require("./defs.js"); diff --git a/src/luaconf.js b/src/luaconf.js index 5bb3550..8e7885c 100644 --- a/src/luaconf.js +++ b/src/luaconf.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const llimit = require('./llimit.js'); diff --git a/src/lualib.js b/src/lualib.js index a509dc8..50ca433 100644 --- a/src/lualib.js +++ b/src/lualib.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const lua = require("./lua.js"); diff --git a/src/lundump.js b/src/lundump.js index 17cdc70..61697b6 100644 --- a/src/lundump.js +++ b/src/lundump.js @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); @@ -1,4 +1,3 @@ -/*jshint esversion: 6 */ "use strict"; const assert = require('assert'); |