UNPKG

eslint-plugin-obsidian

Version:

ESLint rules for Obsidian

18 lines 543 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorReporter = void 0; class ErrorReporter { constructor(context) { this.context = context; } report({ isError, path, node }) { if (isError && path && node) { this.context.reportError(node, 'no-circular-dependencies', { firstDependency: path[0], path: path.join(' -> '), }); } } } exports.ErrorReporter = ErrorReporter; //# sourceMappingURL=errorReporter.js.map