File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ The Style Guide assumes but is not limited to using:
5353
5454## TLDR
5555
56- - ** Embrace const assertions** . [ ⭣ ; ] ( #const-assertion )
56+ - ** Embrace const assertions** for type safety and immutability . [ ⭣ ; ] ( #const-assertion )
5757- Strive for ** data immutability** using types like ` Readonly ` and ` ReadonlyArray ` . [ ⭣ ; ] ( #data-immutability )
58- - Majority of ** object properties** should be ** required** (use optional sparingly). [ ⭣ ; ] ( #required--optional-object-properties )
58+ - Make the ** majority of object properties required** (use optional properties sparingly). [ ⭣ ; ] ( #required--optional-object-properties )
5959- ** Embrace discriminated unions** . [ ⭣ ; ] ( #discriminated-union )
60- - ** Avoid type assertions** . [ ⭣ ; ] ( #type--non-nullability-assertions )
61- - Strive for functions to be ** pure** , ** stateless** and have ** single responsibility** . [ ⭣ ; ] ( #functions )
62- - Strong emphasis to keep ** naming conventions consistent and readable** . [ ⭣ ; ] ( #naming-conventions )
60+ - ** Avoid type assertions** in favor of proper type definitions . [ ⭣ ; ] ( #type--non-nullability-assertions )
61+ - Strive for functions to be ** pure** , ** stateless** , and have ** single responsibility** . [ ⭣ ; ] ( #functions )
62+ - Maintain ** consistent and readable naming conventions ** throughout the codebase . [ ⭣ ; ] ( #naming-conventions )
6363- Use ** named exports** . [ ⭣ ; ] ( #named-export )
64- - Code is ** organized ** and ** grouped by feature** . Collocate code as close as possible to where it's relevant . [ ⭣ ; ] ( #code-collocation )
64+ - ** Organize code by feature** and collocate related code as close as possible. [ ⭣ ; ] ( #code-collocation )
6565
6666## Types
6767
You can’t perform that action at this time.
0 commit comments