Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pluralize.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@
['thief', 'thieves'],
['groove', 'grooves'],
['pickaxe', 'pickaxes'],
['passerby', 'passersby']
['passerby', 'passersby'],
['cookie', 'cookies']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one looks like it might be a bug, I think there's more words than just this one ending in "ie".

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you remove this I'll be able to merge "thanks".

].forEach(function (rule) {
return pluralize.addIrregularRule(rule[0], rule[1]);
});
Expand Down Expand Up @@ -488,6 +489,7 @@
'wildebeest',
'wildlife',
'you',
'thanks',
/pok[eé]mon$/i,
// Regexes.
/[^aeiou]ese$/i, // "chinese", "japanese"
Expand Down