Docs: Update frontend.md (#96816)

* Update frontend.md

removed incorrect lines which describe the type of case (camelCase, PascalCase, etc.) should be used.

* Update contribute/style-guides/frontend.md

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

* Update contribute/style-guides/frontend.md

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

* Update contribute/style-guides/frontend.md

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

---------

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
This commit is contained in:
Matthew Thorning 2024-11-25 08:32:27 +00:00 committed by GitHub
parent 1bf35c97e5
commit 6e13d1c3b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,9 +99,7 @@ For directory names, use dash-case (sometimes called kebab-case).
### Functions
Use PascalCase. For example:
Use camelCase.
Use camelCase. For example:
```typescript
// bad
@ -147,9 +145,7 @@ type RequestInfo = ...
### Methods
Use PascalCase. For example:
Use camelCase.
Use camelCase. For example:
```typescript
class DateCalculator {
@ -296,9 +292,7 @@ function transform(value?: string): TransformedValue | undefined {
### Variables
Use PascalCase. For example:
Use camelCase.
Use camelCase. For example:
```typescript
// bad