element-hq / element-hq/element-web

Clarify code style for constants

Open
#23,354 3 comments 0 reactions 0 assignees View on GitHub
A-Developer-Experience A-Documentation T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?

There was some discussions about whether constants should be `UPPER_CASE` or `GeneralNamingCase` (see [code style](https://github.com/vector-im/element-web/blob/develop/code_style.md#typescript--javascript-typescript-javascript)). We should clarify that.

#### Why would you like to do it?

To have a code style guidance.

#### How would you like to achieve it?

Update the code style doc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.