Skip to content

Commit

Permalink
Chore: Remove target.all from Makefile.js (#15088)
Browse files Browse the repository at this point in the history
* Chore: move require

* Chore: remove target.all
  • Loading branch information
Hirotaka Tagawa / wafuwafu13 committed Sep 23, 2021
1 parent e3cd141 commit fabdf8a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile.js
Expand Up @@ -10,8 +10,6 @@
// Requirements
//------------------------------------------------------------------------------

require("shelljs/make");

const checker = require("npm-license"),
ReleaseOps = require("eslint-release"),
dateformat = require("dateformat"),
Expand All @@ -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 = {};
Expand Down Expand Up @@ -478,10 +477,6 @@ function getBinFile(command) {
// Tasks
//------------------------------------------------------------------------------

target.all = function() {
target.test();
};

target.lint = function([fix = false] = []) {
let errors = 0,
lastReturn;
Expand Down

0 comments on commit fabdf8a

Please sign in to comment.