Hi there, Diamond is adding a PR review comment s...
# report-bugs
g
Hi there, Diamond is adding a PR review comment saying it's based on custom rules (see first image), but when I follow the "custom rules" link there don't appear to be any configured (see second image). I'm fairly sure we used to have some boilerplate rules configured, but I'd actually like us to have no rules going forward. Can you help?
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
hey George, could you please share the link to the PR with that Diamond review comment? Feel free to DM me if you prefer
g
Hey @Gareth Brickman it's a private repo, but the link is https://github.com/Penrose-Education/mosaic/pull/1596
p
curious if you may have had custom rules configured at the time the comment was left but then removed?
g
The comment is very recent and, like I said, we had some custom rules at some point, but I don't think we ever explicitly removed them
If I don't want Diamond to add these sort of comments to the review - I've attached a couple of examples which are style based that Diamond is claiming are coming from rules - how would I do that?
p
hey George, if you hover over the rectangle that says "Custom rules" you should see a pencil and trash icon appear in the top right corner to either edit or delete it
g
Thanks, I didn't realise I had a custom rule called "Custom rules" (I thought that was some additional settings)