Type '{ rules: { jsdoc: unknown; }; }' is not assignable to type 'Omit<Plugin, "configs">'.
Types of property 'rules' are incompatible.
Type '{ jsdoc: unknown; }' is not assignable to type 'Record<string, LooseRuleDefinition>'.
Property 'jsdoc' is incompatible with index signature.
Type 'unknown' is not assignable to type 'LooseRuleDefinition'.
looks like the rule mistakingly has unknown type and TS complains abot it:
pluugin version: 2.2.1 eslint version: 8.57.0
I'm using the following config
And getting the following error from
tsc
:looks like the rule mistakingly has
unknown
type and TS complains abot it: