g2a-com / g2a-com/node-config

Invalid case conversion of words containing digits

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
Dominant language
TypeScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Strings such as `k8s` and `g2a` aren't correctly converted between UPPER_CASE and camelCase. Currently conversion algorithm treats boundaries between digits and letters as word boundaries. This leads to confusing conversions like:

```
k8sHost → K_8_S_HOST
K8S_HOST → k8SHost
```

Expected conversions:

```
k8sHost → K8S_HOST
K8S_HOST → k8sHost
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name files or tests; start by locating the case-conversion implementation in the TypeScript utilities. Add coverage for k8sHost and K8S_HOST, then verify the conversions preserve digit-containing words as shown in the expected examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.