IF we have a diffstat (https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-diffstat-spec-get) we should just run the linter over the changes.
For example the command could be something like:
lucli lint folder=. format=bitbucket diffstat=diffstat.json
This would only return results for the files in the diffstat, and for modified lines (not deleted)
IF we have a diffstat (https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-diffstat-spec-get) we should just run the linter over the changes.
For example the command could be something like:
lucli lint folder=. format=bitbucket diffstat=diffstat.json
This would only return results for the files in the diffstat, and for modified lines (not deleted)