emberjs / emberjs/ember-inflector

"Child"/"Children" words are lowercased on singularize/pluralize.

Open
#135 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
107
Forks
78
Avg merge
20h 58m
Merged PRs (30d)
4

Description

```javascript
pluralize('car') // => cars
pluralize('Car') // => Cars
singularize('cars') // => car
singularize('Cars') // => Car

// So far, so good...

pluralize('child') // => children
pluralize('Child') // => children # why lowercased?
singularize('children') // => child
singularize('Children') // => child # why lowercased?
```

Using version 2.0.1.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the pluralize('Child') and singularize('Children') examples from the issue, then locate the capitalization handling for the pluralize and singularize entry points. Done means preserving the initial capital for these irregular forms while retaining the existing lowercase behavior, with regression coverage for the shown cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.