-
-
Notifications
You must be signed in to change notification settings - Fork 5
Style guides
marksvc edited this page Sep 25, 2023
·
3 revisions
TypeScript follows the Angular Style Guide. This is opinionated not only about things like file name conventions but also file and folder structure.
We use Prettier with a pre-commit hook.
Microsoft .NET library design guidelines.
In Scripture Forge TypeScript files, consider following this order in a class:
- public static fields
- @Input, @Output, and @ViewChild fields
- public fields, private fields
- constructor
- getters and setters
- public methods
- private methods