diff --git a/Makefile.js b/Makefile.js index c9b5465e9e1..fc6755cd071 100644 --- a/Makefile.js +++ b/Makefile.js @@ -10,8 +10,6 @@ // Requirements //------------------------------------------------------------------------------ -require("shelljs/make"); - const checker = require("npm-license"), ReleaseOps = require("eslint-release"), dateformat = require("dateformat"), @@ -27,6 +25,7 @@ const checker = require("npm-license"), { CLIEngine } = require("./lib/cli-engine"), builtinRules = require("./lib/rules/index"); +require("shelljs/make"); /* global target -- global.target is declared in `shelljs/make.js` */ /** * global.target = {}; @@ -478,10 +477,6 @@ function getBinFile(command) { // Tasks //------------------------------------------------------------------------------ -target.all = function() { - target.test(); -}; - target.lint = function([fix = false] = []) { let errors = 0, lastReturn;