Describe the bug
warn(message, fileName) adds the message into the mainComment rather than adding a file comment
Here an example of entire file comment:

This happens because a warning is matched with
export const isInline = (violation: Violation): boolean => violation.file !== undefined && violation.line !== undefined
but, in case of Bitbucket, the line is not mandatory.
I have no idea how to fix it because looks like that is a BB specific behaviour and at the inlineResults function we don't have context on the platform, right?
I'm happy to help to find and implement a fix if you can give me some hint...
I know that I may implement this with a custom API but in that case I'm going to lose all the check to update current comments, right?
Describe the bug
warn(message, fileName)adds the message into the mainComment rather than adding a file commentHere an example of entire file comment:

This happens because a warning is matched with
but, in case of Bitbucket, the line is not mandatory.
I have no idea how to fix it because looks like that is a BB specific behaviour and at the
inlineResultsfunction we don't have context on the platform, right?I'm happy to help to find and implement a fix if you can give me some hint...
I know that I may implement this with a custom API but in that case I'm going to lose all the check to update current comments, right?