-
Code is automatically formatted using linters and checked during CI builds. Static checkers also validate other coding style requirements for our most commonly used languages (C++, Go, Typescript, Python, Shell).
-
We expect all production code to be written in either C++ or Go, with the UI written in Typescript.
C++ code uses Google C++ style guidelines, with some deviations. Refer to C++ Style.
Go style is automatically enforced by linters. Refer to Go Style.
Typescript code uses Google Typescript style guidelines, with some deviations. Refer to Typescript Style.
Pixie uses inclusive naming in our source code and all our assets. Refer to Inclusive Naming Guide.