Skip to content

Commit 86c74ca

Browse files
committed
fix: formatted code as per eslint standards
1 parent 30375b1 commit 86c74ca

File tree

3 files changed

+11639
-9191
lines changed

3 files changed

+11639
-9191
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const validator = {
238238
isLicensePlate,
239239
isVAT,
240240
ibanLocales,
241-
isUPIId
241+
isUPIId,
242242
};
243243

244244
export default validator;

src/lib/isUpiId.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function isUPIId(upiId) {
2-
// Regular expression pattern for UPI ID validation
3-
const upiPattern = /^[a-zA-Z0-9]+@[a-zA-Z0-9-]+$/;
4-
5-
return upiPattern.test(upiId);
6-
}
7-
export default isUPIId;
2+
// Regular expression pattern for UPI ID validation
3+
const upiPattern = /^[a-zA-Z0-9]+@[a-zA-Z0-9-]+$/;
4+
5+
return upiPattern.test(upiId);
6+
}
7+
export default isUPIId;

0 commit comments

Comments
 (0)