tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
13 lines • 436 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.globAsync = void 0;
const glob_1 = require("glob");
const globAsync = async (pattern) => {
return new Promise((resolve) => {
(0, glob_1.glob)(pattern, (error, matches) => {
resolve(error !== null && error !== void 0 ? error : matches);
});
});
};
exports.globAsync = globAsync;
//# sourceMappingURL=globAsync.js.map