Sobes.tech
Junior — Middle

Are there standards or criteria that code must meet for review?

sobes.tech AI

Answer from AI

Yes, there are usually certain standards and criteria for conducting code reviews that help maintain the quality and readability of the code. The main ones include:

  • Compliance with coding style (for example, using ESLint with a specific configuration).
  • Readability and clarity of the code: understandable variable and function names, absence of unnecessary complexity.
  • No code duplication.
  • Correct error handling.
  • Presence of comments where the logic is not obvious.
  • Test coverage of main scenarios.
  • Security: vulnerability checks, such as protection against injections.

For example, in a Node.js project, standards like Airbnb or Google are often used, along with automated tools for style and quality checks.