ags
This commit is contained in:
parent
eddf7cecb8
commit
aea798d119
16631 changed files with 1480363 additions and 257 deletions
12
home/ags/node_modules/eslint-module-utils/pkgDir.js
generated
vendored
Normal file
12
home/ags/node_modules/eslint-module-utils/pkgDir.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
'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