Skip to content

Commit

Permalink
feat: added validation for Pancard and lint error solved
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulnikam2002 committed Sep 24, 2023
1 parent c2588e0 commit 3a5ece5
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ import isTime from './lib/isTime';
import isBoolean from './lib/isBoolean';
import isLocale from './lib/isLocale';

import isAlpha from './lib/isAlpha';
import { locales as isAlphaLocales } from './lib/isAlpha';
import isAlphanumeric from './lib/isAlphanumeric';
import { locales as isAlphanumericLocales } from './lib/isAlphanumeric';
import isAlpha, { locales as isAlphaLocales } from './lib/isAlpha';
import isAlphanumeric, { locales as isAlphanumericLocales } from './lib/isAlphanumeric';
import isNumeric from './lib/isNumeric';
import isPassportNumber from './lib/isPassportNumber';
import isPort from './lib/isPort';
Expand All @@ -39,8 +37,7 @@ import isSemVer from './lib/isSemVer';
import isSurrogatePair from './lib/isSurrogatePair';

import isInt from './lib/isInt';
import isFloat from './lib/isFloat';
import { locales as isFloatLocales } from './lib/isFloat';
import isFloat, { locales as isFloatLocales } from './lib/isFloat';
import isDecimal from './lib/isDecimal';
import isHexadecimal from './lib/isHexadecimal';
import isOctal from './lib/isOctal';
Expand All @@ -52,8 +49,7 @@ import isHSL from './lib/isHSL';

import isISRC from './lib/isISRC';

import isIBAN from './lib/isIBAN';
import { locales as ibanLocales } from './lib/isIBAN';
import isIBAN, { locales as ibanLocales } from './lib/isIBAN';
import isBIC from './lib/isBIC';

import isMD5 from './lib/isMD5';
Expand Down Expand Up @@ -84,8 +80,9 @@ import isISBN from './lib/isISBN';
import isISSN from './lib/isISSN';
import isTaxID from './lib/isTaxID';

import isMobilePhone from './lib/isMobilePhone';
import { locales as isMobilePhoneLocales } from './lib/isMobilePhone';
import isMobilePhone, {

Check failure on line 83 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 14

Unexpected line break after this opening brace

Check failure on line 83 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 12

Unexpected line break after this opening brace

Check failure on line 83 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 10

Unexpected line break after this opening brace

Check failure on line 83 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 8

Unexpected line break after this opening brace
locales as isMobilePhoneLocales

Check failure on line 84 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 14

Missing trailing comma

Check failure on line 84 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 12

Missing trailing comma

Check failure on line 84 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 10

Missing trailing comma

Check failure on line 84 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 8

Missing trailing comma
} from './lib/isMobilePhone';

Check failure on line 85 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 14

Unexpected line break before this closing brace

Check failure on line 85 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 12

Unexpected line break before this closing brace

Check failure on line 85 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 10

Unexpected line break before this closing brace

Check failure on line 85 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 8

Unexpected line break before this closing brace

import isEthereumAddress from './lib/isEthereumAddress';

Expand All @@ -111,8 +108,9 @@ import isMailtoURI from './lib/isMailtoURI';
import isMimeType from './lib/isMimeType';

import isLatLong from './lib/isLatLong';
import isPostalCode from './lib/isPostalCode';
import { locales as isPostalCodeLocales } from './lib/isPostalCode';
import isPostalCode, {

Check failure on line 111 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 14

Unexpected line break after this opening brace

Check failure on line 111 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 12

Unexpected line break after this opening brace

Check failure on line 111 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 10

Unexpected line break after this opening brace

Check failure on line 111 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 8

Unexpected line break after this opening brace
locales as isPostalCodeLocales

Check failure on line 112 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 14

Missing trailing comma

Check failure on line 112 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 12

Missing trailing comma

Check failure on line 112 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 10

Missing trailing comma

Check failure on line 112 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 8

Missing trailing comma
} from './lib/isPostalCode';

Check failure on line 113 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 14

Unexpected line break before this closing brace

Check failure on line 113 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 12

Unexpected line break before this closing brace

Check failure on line 113 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 10

Unexpected line break before this closing brace

Check failure on line 113 in src/index.js

View workflow job for this annotation

GitHub Actions / Run tests on Node.js 8

Unexpected line break before this closing brace

import ltrim from './lib/ltrim';
import rtrim from './lib/rtrim';
Expand Down

0 comments on commit 3a5ece5

Please sign in to comment.