File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,13 @@ This repository uses Turborepo.
3232- Maintain visual consistency with the host application's design system
3333- Follow responsive design principles
3434
35- - ### TypeScript Guidelines
35+ ### TypeScript Guidelines
3636
3737- Prefer `type` over `interface`
3838- Use explicit return types for functions
3939- Avoid `any` types when possible
4040- Prefer arrow functions over regular function declarations
41+ - Use named parameters (object destructuring) when a function has more than 2 parameters
4142
4243### Code Formatting
4344
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ This document outlines the coding standards and best practices for contributing
88- Use explicit return types for functions
99- Avoid ` any ` types when possible
1010- Prefer arrow functions over regular function declarations
11+ - Use named parameters (object destructuring) when a function has more than 2 parameters
1112
1213## UI Guidelines
1314
You can’t perform that action at this time.
0 commit comments