Skip to content

Coding Guidelines

Mark Fields edited this page Jul 10, 2020 · 22 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 any interface that is intended to be extended or implemented. Types intended for use as data contracts, even if declared with the interface keyword, should not be prefixed with I. Note that this guidance is not followed perfectly within the codebase today, but please adhere to it going forward.

Clone this wiki locally