Skip to content
Permalink
Browse files
Chore: document target global in Makefile.js (#15084)
  • Loading branch information
wafuwafu13 committed Sep 21, 2021
1 parent 0a1a850 commit 05d7140d46e2b5300d4dc9a60450eed956c95420
Showing 1 changed file with 6 additions and 1 deletion.
@@ -3,7 +3,6 @@
* @author nzakas
*/

/* global target -- TODO: figure out where this is coming from and update this description */
/* eslint no-use-before-define: "off", no-console: "off" -- CLI */
"use strict";

@@ -28,6 +27,12 @@ const checker = require("npm-license"),
{ CLIEngine } = require("./lib/cli-engine"),
builtinRules = require("./lib/rules/index");

/* global target -- global.target is declared in `shelljs/make.js` */
/**
* global.target = {};
* @see https://github.com/shelljs/shelljs/blob/124d3349af42cb794ae8f78fc9b0b538109f7ca7/make.js#L4
* @see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/3aa2d09b6408380598cfb802743b07e1edb725f3/types/shelljs/make.d.ts#L8-L11
*/
const { cat, cd, cp, echo, exec, exit, find, ls, mkdir, pwd, rm, test } = require("shelljs");

//------------------------------------------------------------------------------

0 comments on commit 05d7140

Please sign in to comment.