Skip to content

Commit

Permalink
fix(ls): fix linting rule for AsyncAPI 2.x MessageTrait.exammples fie…
Browse files Browse the repository at this point in the history
…ld (#3762)

Refs #3761
  • Loading branch information
char0n committed Jan 31, 2024
1 parent d6133c2 commit a6ea256
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -9,7 +9,7 @@ const examplesTypeLint: LinterMeta = {
message: "'examples' must be an array of Message Example Objects",
severity: DiagnosticSeverity.Error,
linterFunction: 'apilintElementOrClass',
linterParams: [['message-examples']],
linterParams: ['message-trait-examples'],
marker: 'key',
target: 'examples',
data: {},
Expand Down

0 comments on commit a6ea256

Please sign in to comment.