A Programming Style Guide, also known as Programming Style, Style Guide, or Code Style, is a set of rules or guidelines used when writing the source code for a computer program. It is often claimed that following a particular programming style will help programmers read and understand source code conforming to the style, and help to avoid introducing errors.
Programming Styles Guides are generally designed for a specific programming language (or language family, such as C/C+). For example, a style considered good in C source code may not be appropriate for BASIC source code, etc. However, some rules are commonly applied to many languages (C/C+,Java, C#, Rust, etc.).
Source: https://en.wikipedia.org/wiki/Programming_style
Widely accepted style guides are 1):