Skip to content

analyzePluginApiVersion

Runs only the upstream unsupported-API rule with a 0.0.0 baseline, without modifying the manifest. Uses the project’s ESLint parser, type information and ignores, but disables inline suppression and caching. APIs unknown to the rule, dependencies and runtime requirements still need a compatibility review.

Import:

import { analyzePluginApiVersion } from '@mnaoumov/obsidian-dev-toolkit/plugin-api-version-check';

Signature:

function analyzePluginApiVersion(options: AnalyzePluginApiVersionOptions): Promise<PluginApiVersionReport>

Parameters:

Parameter Type Description
options AnalyzePluginApiVersionOptions The project and source files to check.

Returns: Promise<PluginApiVersionReport> — The manifest comparison and the rule’s unguarded API usages.


Links to this page: