Revert "Add no-use-before-define linter rule"
This reverts commit fdcc5d68a2.
Unfortunately, this requires us to move exports to the bottom.
This in turn causes circular dep issues and also access of
exports.GLOBAL_VAR in the global context
This commit is contained in:
+2
-2
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = shell;
|
||||
|
||||
const assert = require('node:assert'),
|
||||
BoxError = require('./boxerror.js'),
|
||||
child_process = require('node:child_process'),
|
||||
@@ -8,8 +10,6 @@ const assert = require('node:assert'),
|
||||
safe = require('safetydance'),
|
||||
_ = require('./underscore.js');
|
||||
|
||||
exports = module.exports = shell;
|
||||
|
||||
function shell(tag) {
|
||||
assert.strictEqual(typeof tag, 'string');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user