Regarding the titular question, the code of conduct forbids "subtle putdowns", "unfriendly language", "Name calling", "personal attacks" (which "includes terms that feel personal even when they're applied to content [e.g. 'lazy']") and "harassment", so generally speaking, the answer is going to be yes, that scolding a user is a flaggable offense, and the flag that best matches a code of conduct violation is unfriendly or unkind.
The flagging guidance for the unfruendlly or unkind flag even provides a link to the code of conduct:
It's unfriendly or unkind.
This comment is rude or condescending. Learn more in our Code of Conduct.
However, it needs to be noted that there is a way that conducting yourself in a polite manner to advise users with constructive criticism is not necessarily the same thing as scolding. An American Dictionary of the English Language by Noah Webster defines scolding as:
- Railing with clamor; uttering rebuke in rude and boisterous language.
Therefore, how the sentiment is expressed is important, and this sentiment is reflected in these slightly reformatted examples taken from the code of conduct:
Unfriendly: “You could Google this in 5 seconds.”
Friendly: “This is called Invariance and Covariance. If you Google it, you’ll find tutorials that can explain it much better than we can in an answer here.”
Unfriendly: “If you bothered to read my question, you’d know it’s not a duplicate.”
Friendly: “I don’t think this is a duplicate. My question is about cement board, while the question you linked is about drywall.”
Unfriendly: “Are you speaking English? If so, I can’t tell.”
Friendly: “I’m having trouble understanding your question. I think you’re asking how to add a swap after system installation. Is that correct?”
Unfriendly: “I came to get help, not to get my question edited.”
Friendly: “Thanks for trying to help, but your edit isn’t what I meant. I’ve removed your edit, and have updated my question so it’s clearer.”
(The quotations are verbatim, but I can not textually sort them into columns)