Skip to content

Coding Guidelines

Mark Fields edited this page Aug 31, 2020 · 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 interfaces, especially those that are intended to be extended or implemented. Types intended for use as data contracts, even if declared with the interface keyword, may not be prefixed with I.

Clone this wiki locally