Menu

How did you get your AI reviewer to stop commenting on everything

#reactjs#redditreactjs#react#every#comments
Reading 0:00
15s threshold

We're 4 React devs and turned on coderabbit for every PR in the summer. The first month it averaged around 14 comments per PR and the team started resolving them without reading, which defeats the point.

What brought it down to about 4 per PR:

- Told it to skip anything Prettier or ESLint already covers. Half the noise was formatting.

- Excluded generated files, Storybook stories and snapshot updates from review.

- Wrote a short list of our own rules in its config, things like "we use React Query for server state, don't suggest useEffect fetching". It mostly follows them.

- Marked a few comment types as "only if it's a real bug", like naming and small refactors.

What's left is mostly stuff I'd want anyway. Missing effect dependencies, stale closures in callbacks, list keys built from array indexes, a state update after unmount.

It still misses things.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.