printer-notifications/node_modules/eslint-plugin-svelte/lib/utils/compat.js

21 lines
776 B
JavaScript
Raw Permalink Normal View History

2023-11-13 21:10:04 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCwd = exports.getPhysicalFilename = exports.getFilename = exports.getSourceCode = void 0;
const eslint_compat_utils_1 = require("eslint-compat-utils");
function getSourceCode(context) {
return (0, eslint_compat_utils_1.getSourceCode)(context);
}
exports.getSourceCode = getSourceCode;
function getFilename(context) {
return (0, eslint_compat_utils_1.getFilename)(context);
}
exports.getFilename = getFilename;
function getPhysicalFilename(context) {
return (0, eslint_compat_utils_1.getPhysicalFilename)(context);
}
exports.getPhysicalFilename = getPhysicalFilename;
function getCwd(context) {
return (0, eslint_compat_utils_1.getCwd)(context);
}
exports.getCwd = getCwd;