@infctr/eslint-docs
Version:
Keep your rule names and descriptions up-to-date across your repo
9 lines (8 loc) • 406 B
JavaScript
;
var __importDefault = undefined && undefined.__importDefault || function (mod) {
return mod && mod.__esModule ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const read_pkg_up_1 = __importDefault(require("read-pkg-up"));
const path_1 = require("path");
exports.default = read_pkg_up_1.default().then(({ path }) => path).then(path_1.dirname);