Allow == when null checking (#24593)

This commit is contained in:
fusagiko / takayamaki authored and GitHub committed 2023-04-19 17:46:46 +02:00
1 parent e98c86050a
commit c1a7e38d2b
3 files changed
+1 -5

No files matched your search

-1
View File
@@ -60,7 +60,6 @@ export function toShortNumber(sourceNumber) {
* // => 1790
*/
export function pluralReady(sourceNumber, division) {
// eslint-disable-next-line eqeqeq
if (division == null || division < DECIMAL_UNITS.HUNDRED) {
return sourceNumber;
}