jsonPlugin
@eslint/json, typed as the plugin type a flat config and RuleTester are written against.
The package’s rule definitions are generic over its own JSON language, which @types/eslint’s ESLint.Plugin - written against ESTree rules - cannot express, so the two are nominally incompatible while being exactly compatible at runtime. Registering it is what makes language: 'json/json' resolvable, so there is no way to avoid the bridge.
Import:
import { jsonPlugin } from 'obsidian-dev-utils/script-utils/linters/eslint-rules/manifest-helpers';Signature:
const jsonPlugin: PluginType: Plugin