Skip to content

Coding Guidelines

Craig Macomber (Microsoft) edited this page Sep 7, 2022 · 25 revisions

Fluid Framework does not strictly enforce any coding guidelines today, beyond our configuration of ESLint. Please aim for consistency with the existing code, which loosely adheres to the Coding Guidelines for TypeScript.

One notable exception to the TypeScript guidelines is that we do prefer the I prefix for types which correspond to abstractions for objects which have private internal state that is interacted with through that abstraction. This does not include classes but can include some (but not all) types declared with interface or type.

Clone this wiki locally