mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
[validator]: update for validator@12.0.0 (#40192)
* [validator]: update for validator@12.0.0 * update tsconfig.json * fix dependents: sequelize * tweak dependents: sequelize
This commit is contained in:
committed by
Sheetal Nandi
parent
1011b21241
commit
3d60af8fb2
Vendored
+5
-4
@@ -31,13 +31,12 @@
|
||||
|
||||
// Based on original work by: samuelneff <https://github.com/samuelneff/sequelize-auto-ts/blob/master/lib/sequelize.d.ts>
|
||||
|
||||
/// <reference types="validator" />
|
||||
|
||||
|
||||
import * as _ from "lodash";
|
||||
import Promise = require("bluebird");
|
||||
import * as cls from "continuation-local-storage"
|
||||
|
||||
import * as ValidatorJS from 'validator'
|
||||
|
||||
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
|
||||
|
||||
declare namespace sequelize {
|
||||
@@ -6339,10 +6338,12 @@ declare namespace sequelize {
|
||||
// Validator
|
||||
// ~~~~~~~~~~~
|
||||
|
||||
type ValidatorJSType = typeof ValidatorJS
|
||||
|
||||
/**
|
||||
* Validator Interface
|
||||
*/
|
||||
interface Validator extends ValidatorJS.ValidatorStatic {
|
||||
interface Validator extends ValidatorJSType {
|
||||
|
||||
notEmpty(str: string): boolean;
|
||||
len(str: string, min: number, max: number): boolean;
|
||||
|
||||
Vendored
+5
-4
@@ -10,12 +10,11 @@
|
||||
|
||||
// Based on original work by: samuelneff <https://github.com/samuelneff/sequelize-auto-ts/blob/master/lib/sequelize.d.ts>
|
||||
|
||||
/// <reference types="validator" />
|
||||
|
||||
|
||||
import * as _ from "lodash";
|
||||
import * as Promise from "bluebird";
|
||||
|
||||
import * as ValidatorJS from 'validator'
|
||||
|
||||
declare namespace sequelize {
|
||||
|
||||
//
|
||||
@@ -5797,10 +5796,12 @@ declare namespace sequelize {
|
||||
// Validator
|
||||
// ~~~~~~~~~~~
|
||||
|
||||
type ValidatorJSType = typeof ValidatorJS
|
||||
|
||||
/**
|
||||
* Validator Interface
|
||||
*/
|
||||
interface Validator extends ValidatorJS.ValidatorStatic {
|
||||
interface Validator extends ValidatorJSType {
|
||||
|
||||
notEmpty(str: string): boolean;
|
||||
len(str: string, min: number, max: number): boolean;
|
||||
|
||||
Vendored
+1230
-405
File diff suppressed because it is too large
Load Diff
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const blacklist: typeof validator.blacklist;
|
||||
export = blacklist;
|
||||
export { blacklist as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const contains: typeof validator.contains;
|
||||
export = contains;
|
||||
export { contains as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const equals: typeof validator.equals;
|
||||
export = equals;
|
||||
export { equals as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const escape: typeof validator.escape;
|
||||
export = escape;
|
||||
export { escape as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isAfter: typeof validator.isAfter;
|
||||
export = isAfter;
|
||||
export { isAfter as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isAlpha: typeof validator.isAlpha;
|
||||
export = isAlpha;
|
||||
export { isAlpha as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isAlphanumeric: typeof validator.isAlphanumeric;
|
||||
export = isAlphanumeric;
|
||||
export { isAlphanumeric as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isAscii: typeof validator.isAscii;
|
||||
export = isAscii;
|
||||
export { isAscii as default } from '../';
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { isBIC as default } from '../';
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { isBase32 as default } from '..';
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isBase64: typeof validator.isBase64;
|
||||
export = isBase64;
|
||||
export { isBase64 as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isBefore: typeof validator.isBefore;
|
||||
export = isBefore;
|
||||
export { isBefore as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isBoolean: typeof validator.isBoolean;
|
||||
export = isBoolean;
|
||||
export { isBoolean as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isByteLength: typeof validator.isByteLength;
|
||||
export = isByteLength;
|
||||
export { isByteLength as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isCreditCard: typeof validator.isCreditCard;
|
||||
export = isCreditCard;
|
||||
export { isCreditCard as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isCurrency: typeof validator.isCurrency;
|
||||
export = isCurrency;
|
||||
export { isCurrency as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isDataURI: typeof validator.isDataURI;
|
||||
export = isDataURI;
|
||||
export { isDataURI as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isDecimal: typeof validator.isDecimal;
|
||||
export = isDecimal;
|
||||
export { isDecimal as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isDivisibleBy: typeof validator.isDivisibleBy;
|
||||
export = isDivisibleBy;
|
||||
export { isDivisibleBy as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isEmail: typeof validator.isEmail;
|
||||
export = isEmail;
|
||||
export { isEmail as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isEmpty: typeof validator.isEmpty;
|
||||
export = isEmpty;
|
||||
export { isEmpty as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isFQDN: typeof validator.isFQDN;
|
||||
export = isFQDN;
|
||||
export { isFQDN as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isFloat: typeof validator.isFloat;
|
||||
export = isFloat;
|
||||
export { isFloat as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isFullWidth: typeof validator.isFullWidth;
|
||||
export = isFullWidth;
|
||||
export { isFullWidth as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isHalfWidth: typeof validator.isHalfWidth;
|
||||
export = isHalfWidth;
|
||||
export { isHalfWidth as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isHash: typeof validator.isHash;
|
||||
export = isHash;
|
||||
export { isHash as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isHexColor: typeof validator.isHexColor;
|
||||
export = isHexColor;
|
||||
export { isHexColor as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isHexadecimal: typeof validator.isHexadecimal;
|
||||
export = isHexadecimal;
|
||||
export { isHexadecimal as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isIP: typeof validator.isIP;
|
||||
export = isIP;
|
||||
export { isIP as default } from '../';
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { isIPRange as default } from '..';
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isISBN: typeof validator.isISBN;
|
||||
export = isISBN;
|
||||
export { isISBN as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isISIN: typeof validator.isISIN;
|
||||
export = isISIN;
|
||||
export { isISIN as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isISO31661Alpha2: typeof validator.isISO31661Alpha2;
|
||||
export = isISO31661Alpha2;
|
||||
export { isISO31661Alpha2 as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isISO31661Alpha3: typeof validator.isISO31661Alpha3;
|
||||
export = isISO31661Alpha3;
|
||||
export { isISO31661Alpha3 as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isISO8601: typeof validator.isISO8601;
|
||||
export = isISO8601;
|
||||
export { isISO8601 as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isISRC: typeof validator.isISRC;
|
||||
export = isISRC;
|
||||
export { isISRC as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isISSN: typeof validator.isISSN;
|
||||
export = isISSN;
|
||||
export { isISSN as default } from '../';
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
export { isIdentityCard as default } from '..';
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isIn: typeof validator.isIn;
|
||||
export = isIn;
|
||||
export { isIn as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isInt: typeof validator.isInt;
|
||||
export = isInt;
|
||||
export { isInt as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isJSON: typeof validator.isJSON;
|
||||
export = isJSON;
|
||||
export { isJSON as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isJWT: typeof validator.isJWT;
|
||||
export = isJWT;
|
||||
export { isJWT as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isLatLong: typeof validator.isLatLong;
|
||||
export = isLatLong;
|
||||
export { isLatLong as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isLength: typeof validator.isLength;
|
||||
export = isLength;
|
||||
export { isLength as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isLowercase: typeof validator.isLowercase;
|
||||
export = isLowercase;
|
||||
export { isLowercase as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isMACAddress: typeof validator.isMACAddress;
|
||||
export = isMACAddress;
|
||||
export { isMACAddress as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isMD5: typeof validator.isMD5;
|
||||
export = isMD5;
|
||||
export { isMD5 as default } from '../';
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { isMagnetURI as default } from '..';
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isMimeType: typeof validator.isMimeType;
|
||||
export = isMimeType;
|
||||
export { isMimeType as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isMobilePhone: typeof validator.isMobilePhone;
|
||||
export = isMobilePhone;
|
||||
export { isMobilePhone as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isMongoId: typeof validator.isMongoId;
|
||||
export = isMongoId;
|
||||
export { isMongoId as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isMultibyte: typeof validator.isMultibyte;
|
||||
export = isMultibyte;
|
||||
export { isMultibyte as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isNumeric: typeof validator.isNumeric;
|
||||
export = isNumeric;
|
||||
export { isNumeric as default } from '../';
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { isOctal as default } from '..';
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isPort: typeof validator.isPort;
|
||||
export = isPort;
|
||||
export { isPort as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isPostalCode: typeof validator.isPostalCode;
|
||||
export = isPostalCode;
|
||||
export { isPostalCode as default } from '../';
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { isRFC3339 as default } from '../';
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { isSlug as default } from '..';
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isSurrogatePair: typeof validator.isSurrogatePair;
|
||||
export = isSurrogatePair;
|
||||
export { isSurrogatePair as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isURL: typeof validator.isURL;
|
||||
export = isURL;
|
||||
export { isURL as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isUUID: typeof validator.isUUID;
|
||||
export = isUUID;
|
||||
export { isUUID as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isUppercase: typeof validator.isUppercase;
|
||||
export = isUppercase;
|
||||
export { isUppercase as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isVariableWidth: typeof validator.isVariableWidth;
|
||||
export = isVariableWidth;
|
||||
export { isVariableWidth as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const isWhitelisted: typeof validator.isWhitelisted;
|
||||
export = isWhitelisted;
|
||||
export { isWhitelisted as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const ltrim: typeof validator.ltrim;
|
||||
export = ltrim;
|
||||
export { ltrim as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const matches: typeof validator.matches;
|
||||
export = matches;
|
||||
export { matches as default } from '../';
|
||||
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const normalizeEmail: typeof validator.normalizeEmail;
|
||||
export = normalizeEmail;
|
||||
export { normalizeEmail as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const rtrim: typeof validator.rtrim;
|
||||
export = rtrim;
|
||||
export { rtrim as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const stripLow: typeof validator.stripLow;
|
||||
export = stripLow;
|
||||
export { stripLow as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const toBoolean: typeof validator.toBoolean;
|
||||
export = toBoolean;
|
||||
export { toBoolean as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const toDate: typeof validator.toDate;
|
||||
export = toDate;
|
||||
export { toDate as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const toFloat: typeof validator.toFloat;
|
||||
export = toFloat;
|
||||
export { toFloat as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const toInt: typeof validator.toInt;
|
||||
export = toInt;
|
||||
export { toInt as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const trim: typeof validator.trim;
|
||||
export = trim;
|
||||
export { trim as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const unescape: typeof validator.unescape;
|
||||
export = unescape;
|
||||
export { unescape as default } from '../';
|
||||
|
||||
Vendored
+1
-3
@@ -1,3 +1 @@
|
||||
import * as validator from "validator";
|
||||
declare const whitelist: typeof validator.whitelist;
|
||||
export = whitelist;
|
||||
export { whitelist as default } from '../';
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
@@ -23,8 +23,10 @@
|
||||
"lib/isAlpha.d.ts",
|
||||
"lib/isAlphanumeric.d.ts",
|
||||
"lib/isAscii.d.ts",
|
||||
"lib/isBase32.d.ts",
|
||||
"lib/isBase64.d.ts",
|
||||
"lib/isBefore.d.ts",
|
||||
"lib/isBIC.d.ts",
|
||||
"lib/isBoolean.d.ts",
|
||||
"lib/isByteLength.d.ts",
|
||||
"lib/isCreditCard.d.ts",
|
||||
@@ -34,41 +36,47 @@
|
||||
"lib/isDivisibleBy.d.ts",
|
||||
"lib/isEmail.d.ts",
|
||||
"lib/isEmpty.d.ts",
|
||||
"lib/isFQDN.d.ts",
|
||||
"lib/isFloat.d.ts",
|
||||
"lib/isFQDN.d.ts",
|
||||
"lib/isFullWidth.d.ts",
|
||||
"lib/isHalfWidth.d.ts",
|
||||
"lib/isHash.d.ts",
|
||||
"lib/isHexColor.d.ts",
|
||||
"lib/isHexadecimal.d.ts",
|
||||
"lib/isHexColor.d.ts",
|
||||
"lib/isIdentityCard.d.ts",
|
||||
"lib/isIn.d.ts",
|
||||
"lib/isInt.d.ts",
|
||||
"lib/isIP.d.ts",
|
||||
"lib/isIPRange.d.ts",
|
||||
"lib/isISBN.d.ts",
|
||||
"lib/isISSN.d.ts",
|
||||
"lib/isISIN.d.ts",
|
||||
"lib/isISO8601.d.ts",
|
||||
"lib/isISO31661Alpha2.d.ts",
|
||||
"lib/isISO31661Alpha3.d.ts",
|
||||
"lib/isISRC.d.ts",
|
||||
"lib/isIn.d.ts",
|
||||
"lib/isInt.d.ts",
|
||||
"lib/isISSN.d.ts",
|
||||
"lib/isJSON.d.ts",
|
||||
"lib/isJWT.d.ts",
|
||||
"lib/isLatLong.d.ts",
|
||||
"lib/isLength.d.ts",
|
||||
"lib/isLowercase.d.ts",
|
||||
"lib/isMACAddress.d.ts",
|
||||
"lib/isMagnetURI.d.ts",
|
||||
"lib/isMD5.d.ts",
|
||||
"lib/isMimeType.d.ts",
|
||||
"lib/isMobilePhone.d.ts",
|
||||
"lib/isPostalCode.d.ts",
|
||||
"lib/isMongoId.d.ts",
|
||||
"lib/isMultibyte.d.ts",
|
||||
"lib/isNumeric.d.ts",
|
||||
"lib/isOctal.d.ts",
|
||||
"lib/isPort.d.ts",
|
||||
"lib/isPostalCode.d.ts",
|
||||
"lib/isRFC3339.d.ts",
|
||||
"lib/isSlug.d.ts",
|
||||
"lib/isSurrogatePair.d.ts",
|
||||
"lib/isUppercase.d.ts",
|
||||
"lib/isURL.d.ts",
|
||||
"lib/isUUID.d.ts",
|
||||
"lib/isUppercase.d.ts",
|
||||
"lib/isVariableWidth.d.ts",
|
||||
"lib/isWhitelisted.d.ts",
|
||||
"lib/ltrim.d.ts",
|
||||
|
||||
@@ -1,80 +1,3 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"adjacent-overload-signatures": false,
|
||||
"array-type": false,
|
||||
"arrow-return-shorthand": false,
|
||||
"ban-types": false,
|
||||
"callable-types": false,
|
||||
"comment-format": false,
|
||||
"dt-header": false,
|
||||
"npm-naming": false,
|
||||
"eofline": false,
|
||||
"export-just-namespace": false,
|
||||
"import-spacing": false,
|
||||
"interface-name": false,
|
||||
"interface-over-type-literal": false,
|
||||
"jsdoc-format": false,
|
||||
"max-line-length": false,
|
||||
"member-access": false,
|
||||
"new-parens": false,
|
||||
"no-any-union": false,
|
||||
"no-boolean-literal-compare": false,
|
||||
"no-conditional-assignment": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-construct": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-duplicate-imports": false,
|
||||
"no-duplicate-variable": false,
|
||||
"no-empty-interface": false,
|
||||
"no-for-in-array": false,
|
||||
"no-inferrable-types": false,
|
||||
"no-internal-module": false,
|
||||
"no-irregular-whitespace": false,
|
||||
"no-mergeable-namespace": false,
|
||||
"no-misused-new": false,
|
||||
"no-namespace": false,
|
||||
"no-object-literal-type-assertion": false,
|
||||
"no-padding": false,
|
||||
"no-redundant-jsdoc": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-redundant-undefined": false,
|
||||
"no-reference-import": false,
|
||||
"no-relative-import-in-test": false,
|
||||
"no-self-import": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-string-throw": false,
|
||||
"no-unnecessary-callback-wrapper": false,
|
||||
"no-unnecessary-class": false,
|
||||
"no-unnecessary-generics": false,
|
||||
"no-unnecessary-qualifier": false,
|
||||
"no-unnecessary-type-assertion": false,
|
||||
"no-useless-files": false,
|
||||
"no-var-keyword": false,
|
||||
"no-var-requires": false,
|
||||
"no-void-expression": false,
|
||||
"no-trailing-whitespace": false,
|
||||
"object-literal-key-quotes": false,
|
||||
"object-literal-shorthand": false,
|
||||
"one-line": false,
|
||||
"one-variable-per-declaration": false,
|
||||
"only-arrow-functions": false,
|
||||
"prefer-conditional-expression": false,
|
||||
"prefer-const": false,
|
||||
"prefer-declare-function": false,
|
||||
"prefer-for-of": false,
|
||||
"prefer-method-signature": false,
|
||||
"prefer-template": false,
|
||||
"radix": false,
|
||||
"semicolon": false,
|
||||
"space-before-function-paren": false,
|
||||
"space-within-parens": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"trim-file": false,
|
||||
"triple-equals": false,
|
||||
"typedef-whitespace": false,
|
||||
"unified-signatures": false,
|
||||
"void-return": false,
|
||||
"whitespace": false
|
||||
}
|
||||
"extends": "dtslint/dt.json"
|
||||
}
|
||||
|
||||
+535
-545
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user