Consistency is a very important factor in software development.
But because different developers have different experiences and preferences it takes some time and effort to achieve consistency in projects.
A solution to that are discussed and then tool-enforced rules. Some solutions to that are linters, code formatters, checks on the CI and code reviews.