chore: fixed linters
This commit is contained in:
@@ -492,10 +492,10 @@ export function singularize(word) {
|
||||
zes: 'ze',
|
||||
ses: 's',
|
||||
es: 'e',
|
||||
s: ''
|
||||
};
|
||||
s: '',
|
||||
}
|
||||
return word.replace(
|
||||
new RegExp(`(${Object.keys(endings).join('|')})$`),
|
||||
r => endings[r]
|
||||
);
|
||||
(r) => endings[r]
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user