@intlify/eslint-plugin-vue-i18n
Version:
ESLint plugin for Vue I18n
10 lines (9 loc) • 460 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCwd = void 0;
const eslint_compat_utils_1 = require("eslint-compat-utils");
function getCwd(context) {
var _a, _b, _c;
return (_c = (_b = (_a = context.settings) === null || _a === void 0 ? void 0 : _a['vue-i18n']) === null || _b === void 0 ? void 0 : _b.cwd) !== null && _c !== void 0 ? _c : (0, eslint_compat_utils_1.getCwd)(context);
}
exports.getCwd = getCwd;