cdklabs / cdklabs/json2jsii

camelCase mangles pluralized acronyms (installCRDs → installCrDs)

Open
#1,858 2 comments 0 reactions 0 assignees View on GitHub
p2
Dominant language
TypeScript
Stars
24
Forks
14
Avg merge
22m
Merged PRs (30d)
4

Description

Discovered via `helm:https://charts.jetstack.io/cert-manager@v1.20.0` import in cdk8s-cli, where the helm chart property `installCRDs` becomes `installCrDs`.

The `camelcase` library sees the `D→s` transition in `CRDs` as a word boundary and splits it into `CR` + `Ds`. Same problem affects any pluralized acronym, e.g. `maxCPUs` → `maxCpUs` etc.

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.