refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
12
home/ags/node_modules/eslint-module-utils/pkgDir.js
generated
vendored
12
home/ags/node_modules/eslint-module-utils/pkgDir.js
generated
vendored
|
|
@ -1,12 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
const pkgUp = require('./pkgUp').default;
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
/** @type {import('./pkgDir').default} */
|
||||
exports.default = function (cwd) {
|
||||
const fp = pkgUp({ cwd });
|
||||
return fp ? path.dirname(fp) : null;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue