Skip to content

requirePluginApiContractSchemas

ESLint rule requiring both an input and an output schema on every method entry of a plugin API contract.

Import:

import { requirePluginApiContractSchemas } from '@mnaoumov/obsidian-dev-toolkit/linters/eslint-rules/require-plugin-api-contract-schemas';

Signature:

const requirePluginApiContractSchemas: Rule.RuleModule

Type: Rule.RuleModule


Links to this page: