The evaluation is kept confidential, but the editor uses it to decide whether or not to accept the article. The editor may reject the paper, accept it, or send it back to the authors to be revised according to the comments of the reviewers, whose names are never revealed. The author must then revise it and resubmit it. It is then typically sent back to the same reviewers for review again. This entire process may be repeated for one or more cycles.
Some editors also look carefully at the bibliography.
If it is poorly formatted, with numerous mistakes and typographical errors, they may take this as a sign that the scientific work in the main body of the paper was likewise poorly done. This may not be true, but unfortunately, this is the impression that is created. It is a mistake to think that the bibliography is not an important part of the paper. Therefore, it is best to make a good impression from the very first contact. You would not go to an important business meeting to meet someone for the first time poorly dressed and the same principle applies here.