UNPKG

eslint-plugin-obsidian

Version:

ESLint rules for Obsidian

14 lines 480 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.create = create; const class_1 = require("../../dto/class"); const graphHandler_1 = require("./graphHandler"); function create(context, classAdapter) { const graphHandler = new graphHandler_1.GraphHandler(context, classAdapter); return { ClassDeclaration(node) { graphHandler.handle(new class_1.Clazz(node)); }, }; } //# sourceMappingURL=createRule.js.map