Skip to content
Permalink
Browse files
Chore: Remove target.all from Makefile.js (#15088)
* Chore: move require

* Chore: remove target.all
  • Loading branch information
wafuwafu13 committed Sep 23, 2021
1 parent e3cd141 commit fabdf8a4e2f82b5fe2f903f015c3e60747a0b143
Showing 1 changed file with 1 addition and 6 deletions.
@@ -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;

0 comments on commit fabdf8a

Please sign in to comment.