InvalidRuleOptionError
The Cause
Section titled “The Cause”You provided an invalid option object to a rule. The provided option object does not conform to the defined schema of the rule options.
For example, if a rule named my-rule defines its options via the following schema:
{ type: 'object', properties: { foo: { type: 'string' }, }, additionalProperties: false,}and you provide the following Thymian configuration file:
plugins: '@thymian/plugin-http-linter': options: rules: 'my-rule': options: bar: baz # should be foo: bazyou will receive this error.
The Solution
Section titled “The Solution”Check the rule’s option schema definition and ensure your configuration file uses the correct option properties that match the schema.