@ts-type/package-dts
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -29,3 +29,20 @@ /** | ||
}; | ||
/** | ||
* https://github.com/bluelovers/ws-ts-type/pull/1 | ||
*/ | ||
private?: boolean | "true" | "false"; | ||
gitHead?: string; | ||
/** | ||
* https://segmentfault.com/a/1190000016365409 | ||
*/ | ||
flat?: boolean; | ||
unpkg?: string; | ||
browserslist?: string[]; | ||
browser?: string; | ||
es2015?: string; | ||
esm?: boolean; | ||
'react-native'?: string; | ||
sideEffects?: boolean; | ||
source?: string; | ||
'umd:main'?: string; | ||
} & { | ||
@@ -32,0 +49,0 @@ [k: string]: T; |
{ | ||
"name": "@ts-type/package-dts", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"private": false, | ||
@@ -52,14 +52,15 @@ "description": "A Typescript type definition for NPM package json", | ||
"lint": "eslint **/*.ts", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "yarn run update:schema", | ||
"prepublishOnly": "yarn run ncu && yarn run sort-package-json", | ||
"ncu": "npx yarn-tool ncu -u", | ||
"prepublishOnly": "yarn run ncu && yarn run sort-package-json", | ||
"sort-package-json": "npx yarn-tool sort", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"update:schema": "npx ts-node ./script/index" | ||
}, | ||
"devDependencies": { | ||
"@types/bluebird": "^3.5.30", | ||
"@types/bluebird": "^3.5.32", | ||
"axios": "^0.19.2", | ||
"bluebird": "^3.7.2", | ||
"fs-extra": "^9.0.0", | ||
"json-schema-to-typescript": "^8.2.0" | ||
"json-schema-to-typescript": "^9.1.0" | ||
}, | ||
@@ -69,3 +70,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "30e5dd05f7b721e6a1534e822289da88b84aeb96", | ||
"gitHead": "2b483bcc6bab2a5fbe0b0cfe2a27f736bf5db793", | ||
"sharedDependencies": { | ||
@@ -72,0 +73,0 @@ "eslint-config-bluelovers": "latest" |
@@ -641,2 +641,6 @@ { | ||
}, | ||
"function-call-argument-newline": { | ||
"$ref": "#/definitions/rule", | ||
"description": "Enforce line breaks between arguments of a function call" | ||
}, | ||
"function-paren-newline": { | ||
@@ -1335,2 +1339,6 @@ "$ref": "#/definitions/rule", | ||
}, | ||
"noInlineConfig": { | ||
"description": "Prevent comments from changing config or rules", | ||
"type": "boolean" | ||
}, | ||
"parser": { | ||
@@ -1357,6 +1365,10 @@ "type": "string" | ||
9, | ||
2018 | ||
2018, | ||
10, | ||
2019, | ||
11, | ||
2020 | ||
], | ||
"default": 5, | ||
"description": "Set to 3, 5 (default), 6, 7, 8, or 9 to specify the version of ECMAScript you want to use. Alternatively, set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), or 2018 (same as 9) to use year-based naming." | ||
"description": "Set to 3, 5 (default), 6, 7, 8, 9, 10 or 11 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10) or 2020 (same as 11) to use the year-based naming." | ||
}, | ||
@@ -1384,2 +1396,9 @@ "sourceType": { | ||
}, | ||
"ignorePatterns": { | ||
"description": "Tell ESLint to ignore specific files and directories. Each value uses the same pattern as the `.eslintignore` file.", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"rules": { | ||
@@ -1440,2 +1459,12 @@ "description": "ESLint comes with a large number of rules. You can modify which rules your project uses either using configuration comments or configuration files.", | ||
}, | ||
"extends": { | ||
"description": "If you want to extend a specific configuration file, you can use the extends property and specify the path to the file. The path can be either relative or absolute.", | ||
"type": [ | ||
"string", | ||
"array" | ||
], | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"excludedFiles": { | ||
@@ -1473,2 +1502,6 @@ "description": "If a file matches any of the 'excludedFiles' glob patterns, the 'overrides' configuration won’t apply", | ||
}, | ||
"processor": { | ||
"description": "To specify a processor, specify the plugin name and processor name joined by a forward slash", | ||
"type": "string" | ||
}, | ||
"rules": { | ||
@@ -1475,0 +1508,0 @@ "$ref": "#/properties/rules" |
@@ -30,6 +30,15 @@ { | ||
"description": "Array of package names that will be bundled when publishing the package.", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"enum": [ | ||
false | ||
] | ||
} | ||
] | ||
}, | ||
@@ -81,3 +90,4 @@ "dependency": { | ||
"additionalProperties": true, | ||
"additionalItems": true | ||
"additionalItems": true, | ||
"tsType": "any" | ||
} | ||
@@ -91,3 +101,3 @@ }, | ||
"minLength": 1, | ||
"pattern": "^(?:@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$" | ||
"pattern": "^(?:@[a-z0-9-*~][a-z0-9-*._~]*/)?[a-z0-9-~][a-z0-9-._~]*$" | ||
}, | ||
@@ -111,13 +121,3 @@ "version": { | ||
"description": "The url to the project homepage.", | ||
"type": "string", | ||
"oneOf": [ | ||
{ | ||
"format": "uri" | ||
}, | ||
{ | ||
"enum": [ | ||
"." | ||
] | ||
} | ||
] | ||
"type": "string" | ||
}, | ||
@@ -200,2 +200,6 @@ "bugs": { | ||
}, | ||
"type": { | ||
"description": "The type field defines how .js and extensionless files should be treated within a particular package.json file’s package scope. Supported values: \"commonjs\" (default) or \"module\".", | ||
"type": "string" | ||
}, | ||
"types": { | ||
@@ -259,2 +263,5 @@ "description": "Set the types property to point to your bundled declaration file", | ||
"type": "string" | ||
}, | ||
"directory": { | ||
"type": "string" | ||
} | ||
@@ -361,3 +368,4 @@ } | ||
"additionalProperties": { | ||
"type": "string" | ||
"type": "string", | ||
"tsType": "string | undefined" | ||
} | ||
@@ -387,2 +395,7 @@ }, | ||
"type": "object", | ||
"properties": { | ||
"node": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": { | ||
@@ -419,2 +432,18 @@ "type": "string" | ||
"type": "object", | ||
"properties": { | ||
"access": { | ||
"type": "string", | ||
"enum": [ | ||
"public", | ||
"restricted" | ||
] | ||
}, | ||
"tag": { | ||
"type": "string" | ||
}, | ||
"registry": { | ||
"type": "string", | ||
"format": "uri" | ||
} | ||
}, | ||
"additionalProperties": true | ||
@@ -457,2 +486,27 @@ }, | ||
} | ||
}, | ||
"workspaces": { | ||
"description": "To configure your yarn workspaces, please note private should be set to true to use yarn workspaces", | ||
"anyof": [ | ||
{ | ||
"type": "array", | ||
"description": "your workspace folders also takes a glob", | ||
"items": "string" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"packages": { | ||
"type": "array", | ||
"description": "your workspace folder's also takes a glob", | ||
"items": "string" | ||
}, | ||
"nohoist": { | ||
"type": "array", | ||
"description": "nohoist your npm packages", | ||
"items": "string" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
@@ -459,0 +513,0 @@ } |
@@ -9,2 +9,38 @@ { | ||
}, | ||
"notRequiredNonEmptyString": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/nonEmptyString" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"arrayOfNonEmptyStrings": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/nonEmptyString" | ||
} | ||
}, | ||
"nonEmptyStringOrArrayOfNonEmptyStrings": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/nonEmptyString" | ||
}, | ||
{ | ||
"$ref": "#/definitions/arrayOfNonEmptyStrings" | ||
} | ||
] | ||
}, | ||
"notRequiredNonEmptyStringOrArrayOfNonEmptyStrings": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"stringArrayUnique": { | ||
@@ -81,6 +117,28 @@ "type": "array", | ||
}, | ||
"possiblySecretStringOrPossiblySecretStringTypeArrayUnique": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/possiblySecretString" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"$ref": "#/definitions/possiblySecretString" | ||
} | ||
} | ||
] | ||
}, | ||
"slackRoom": { | ||
"description": "Your account name, token and optional channel", | ||
"type": "string", | ||
"pattern": ".+:.+(#.+)?" | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"pattern": ".+:.+(#.+)?" | ||
}, | ||
{ | ||
"$ref": "#/definitions/secretString" | ||
} | ||
] | ||
}, | ||
@@ -129,5 +187,6 @@ "notificationFrequency": { | ||
"rabbitmq", | ||
"redis-server", | ||
"redis", | ||
"rethinkdb", | ||
"riak" | ||
"riak", | ||
"xvfb" | ||
] | ||
@@ -137,2 +196,3 @@ }, | ||
"enum": [ | ||
"apt", | ||
"bundler", | ||
@@ -161,3 +221,8 @@ "cargo", | ||
"xcode10.1", | ||
"xcode10.2" | ||
"xcode10.2", | ||
"xcode10.3", | ||
"xcode11", | ||
"xcode11.1", | ||
"xcode11.2", | ||
"xcode11.3" | ||
] | ||
@@ -368,13 +433,3 @@ }, | ||
"node_js": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "string" | ||
} | ||
] | ||
"$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" | ||
}, | ||
@@ -401,13 +456,3 @@ "compiler": { | ||
"php": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "string" | ||
} | ||
] | ||
"$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" | ||
}, | ||
@@ -476,16 +521,3 @@ "go": { | ||
"python": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "number" | ||
} | ||
] | ||
"$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" | ||
}, | ||
@@ -535,13 +567,3 @@ "elixir": { | ||
"julia": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "string" | ||
} | ||
] | ||
"$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" | ||
}, | ||
@@ -644,2 +666,28 @@ "opt_release": { | ||
}, | ||
"arch": { | ||
"description": "The CPU Architecture to run the job on", | ||
"oneOf": [ | ||
{ | ||
"enum": [ | ||
"amd64", | ||
"arm64", | ||
"ppc64le", | ||
"s390x" | ||
] | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"enum": [ | ||
"amd64", | ||
"arm64", | ||
"ppc64le", | ||
"s390x" | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"os": { | ||
@@ -657,2 +705,4 @@ "description": "The operating system to run the job on", | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
@@ -675,2 +725,4 @@ "enum": [ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
@@ -688,3 +740,5 @@ "$ref": "#/definitions/xcodeVersions" | ||
"trusty", | ||
"xenial" | ||
"xenial", | ||
"bionic", | ||
"focal" | ||
] | ||
@@ -699,3 +753,4 @@ }, | ||
"enabled" | ||
] | ||
], | ||
"description": "sudo is deprecated" | ||
}, | ||
@@ -979,3 +1034,9 @@ "addons": { | ||
"type": "boolean", | ||
"default": true | ||
"description": "'classic:' is deprecated, use 'confinement:'" | ||
}, | ||
"confinement": { | ||
"enum": [ | ||
"classic", | ||
"devmode" | ||
] | ||
} | ||
@@ -1072,2 +1133,5 @@ } | ||
}, | ||
"apt": { | ||
"type": "boolean" | ||
}, | ||
"bundler": { | ||
@@ -1143,2 +1207,24 @@ "type": "boolean" | ||
"description": "Skip fetching the git-lfs files during the initial git clone (equivalent to git lfs smudge --skip)," | ||
}, | ||
"clone": { | ||
"type": "boolean", | ||
"description": "In some work flows, like build stages, it might be beneficial to skip the automatic git clone step." | ||
}, | ||
"sparse_checkout": { | ||
"$ref": "#/definitions/nonEmptyString", | ||
"description": "Is a path to the existing file in the current repository with data you’d like to put into $GIT_DIR/info/sparse-checkout file of format described in Git documentation." | ||
}, | ||
"autocrlf": { | ||
"oneOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"input" | ||
] | ||
} | ||
], | ||
"summary": "Specify handling of line endings when cloning repository" | ||
} | ||
@@ -1304,2 +1390,5 @@ }, | ||
}, | ||
"api_token": { | ||
"$ref": "#/definitions/possiblySecretString" | ||
}, | ||
"tag": { | ||
@@ -1309,6 +1398,17 @@ "type": "string" | ||
}, | ||
"required": [ | ||
"provider", | ||
"email", | ||
"api_key" | ||
"oneOf": [ | ||
{ | ||
"required": [ | ||
"provider", | ||
"email", | ||
"api_key" | ||
] | ||
}, | ||
{ | ||
"required": [ | ||
"provider", | ||
"email", | ||
"api_token" | ||
] | ||
} | ||
] | ||
@@ -1534,2 +1634,393 @@ }, | ||
] | ||
}, | ||
"notificationObject": { | ||
"webhooks": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"urls": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
{ | ||
"$ref": "#/definitions/secretString" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
{ | ||
"$ref": "#/definitions/secretString" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
} | ||
}, | ||
"slack": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"rooms": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"$ref": "#/definitions/slackRoom" | ||
} | ||
}, | ||
"on_pull_requests": { | ||
"type": "boolean" | ||
}, | ||
"template": { | ||
"$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings" | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
} | ||
}, | ||
"email": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"recipients": { | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "change" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
} | ||
}, | ||
"irc": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"channels": { | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
"channel_key": { | ||
"$ref": "#/definitions/possiblySecretString" | ||
}, | ||
"nick": { | ||
"$ref": "#/definitions/nonEmptyString" | ||
}, | ||
"password": { | ||
"$ref": "#/definitions/possiblySecretString" | ||
}, | ||
"template": { | ||
"$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings" | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"skip_join": { | ||
"type": "boolean" | ||
}, | ||
"use_notice": { | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"pushover": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"api_key": { | ||
"$ref": "#/definitions/possiblySecretString" | ||
}, | ||
"users": { | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
"template": { | ||
"$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings" | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
} | ||
}, | ||
"campfire": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"rooms": { | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
"template": { | ||
"$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
} | ||
}, | ||
"flowdock": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"api_token": { | ||
"$ref": "#/definitions/nonEmptyString" | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
} | ||
}, | ||
"hipchat": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"disabled": { | ||
"type": "boolean" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"notify": { | ||
"type": "boolean" | ||
}, | ||
"on_pull_requests": { | ||
"type": "boolean" | ||
}, | ||
"rooms": { | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
"format": { | ||
"enum": [ | ||
"html", | ||
"text" | ||
] | ||
}, | ||
"template": { | ||
"$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "never" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
} | ||
} | ||
}, | ||
"import": { | ||
"anyOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"source" | ||
], | ||
"properties": { | ||
"source": { | ||
"$ref": "#/definitions/nonEmptyString", | ||
"description": "The source to import build config from" | ||
}, | ||
"mode": { | ||
"type": "string", | ||
"enum": [ | ||
"merge", | ||
"deep_merge", | ||
"deep_merge_append", | ||
"deep_merge_prepend" | ||
], | ||
"description": "How to merge the imported config into the target config (defaults to deep_merge_append)" | ||
}, | ||
"if": { | ||
"$ref": "#/definitions/nonEmptyString", | ||
"description": "Specifies a condition for the import" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "#/definitions/nonEmptyString" | ||
} | ||
] | ||
} | ||
@@ -1550,42 +2041,17 @@ }, | ||
{ | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "#/definitions/notificationObject/webhooks" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"type": "string", | ||
"format": "uri" | ||
"$ref": "#/definitions/notificationObject/webhooks" | ||
} | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"urls": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"format": "uri" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
}, | ||
"on_start": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
}, | ||
"on_cancel": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
}, | ||
"on_error": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
} | ||
} | ||
@@ -1600,27 +2066,14 @@ ] | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"rooms": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/slackRoom" | ||
} | ||
}, | ||
"on_pull_requests": { | ||
"type": "boolean" | ||
}, | ||
"template": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency" | ||
} | ||
}, | ||
"additionalProperties": false | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "#/definitions/notificationObject/slack" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"$ref": "#/definitions/notificationObject/slack" | ||
} | ||
} | ||
@@ -1632,29 +2085,37 @@ ] | ||
{ | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "#/definitions/notificationObject/email" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"type": "string" | ||
"$ref": "#/definitions/notificationObject/email" | ||
} | ||
} | ||
] | ||
}, | ||
"irc": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
{ | ||
"enum": [ | ||
false | ||
] | ||
"type": "boolean" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"recipients": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "change" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
} | ||
"$ref": "#/definitions/notificationObject/irc" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"$ref": "#/definitions/notificationObject/irc" | ||
} | ||
@@ -1664,54 +2125,85 @@ } | ||
}, | ||
"irc": { | ||
"pushover": { | ||
"oneOf": [ | ||
{ | ||
"type": "string" | ||
"$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" | ||
}, | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "#/definitions/notificationObject/pushover" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"type": "string" | ||
"$ref": "#/definitions/notificationObject/pushover" | ||
} | ||
} | ||
] | ||
}, | ||
"campfire": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"channels": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"channel_key": { | ||
"type": "string" | ||
}, | ||
"nick": { | ||
"type": "string" | ||
}, | ||
"password": { | ||
"type": "string" | ||
}, | ||
"template": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"on_success": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"on_failure": { | ||
"$ref": "#/definitions/notificationFrequency", | ||
"default": "always" | ||
}, | ||
"skip_join": { | ||
"type": "boolean" | ||
}, | ||
"use_notice": { | ||
"type": "boolean" | ||
} | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "#/definitions/notificationObject/campfire" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"$ref": "#/definitions/notificationObject/campfire" | ||
} | ||
} | ||
] | ||
}, | ||
"flowdock": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/possiblySecretString" | ||
}, | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "#/definitions/notificationObject/flowdock" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"$ref": "#/definitions/notificationObject/flowdock" | ||
} | ||
} | ||
] | ||
}, | ||
"hipchat": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" | ||
}, | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "#/definitions/notificationObject/hipchat" | ||
}, | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"minItems": 1, | ||
"items": { | ||
"$ref": "#/definitions/notificationObject/hipchat" | ||
} | ||
} | ||
] | ||
} | ||
@@ -1773,2 +2265,22 @@ }, | ||
}, | ||
"exclude": { | ||
"type": "array", | ||
"items": { | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/job" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"stage": { | ||
"type": "string", | ||
"description": "The name of the build stage", | ||
"default": "test" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"allow_failures": { | ||
@@ -1779,2 +2291,6 @@ "type": "array", | ||
} | ||
}, | ||
"fast_finish": { | ||
"type": "boolean", | ||
"description": "If some rows in the build matrix are allowed to fail, the build won’t be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true" | ||
} | ||
@@ -1806,2 +2322,22 @@ } | ||
} | ||
}, | ||
"version": { | ||
"type": "string", | ||
"summary": "Build config specification version", | ||
"pattern": "^(~>|>|>=|=|<=|<) (\\d+(?:\\.\\d+)?(?:\\.\\d+)?)$" | ||
}, | ||
"import": { | ||
"description": "Import YAML config snippets that can be shared across repositories.", | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"$ref": "#/definitions/import" | ||
} | ||
}, | ||
{ | ||
"$ref": "#/definitions/import" | ||
} | ||
] | ||
} | ||
@@ -1808,0 +2344,0 @@ } |
@@ -73,4 +73,7 @@ { | ||
"declarationDir": { | ||
"type": "string", | ||
"description": "Specify output directory for generated declaration files. Requires TypeScript version 2.0 or later." | ||
"description": "Specify output directory for generated declaration files. Requires TypeScript version 2.0 or later.", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
@@ -126,3 +129,3 @@ "diagnostics": { | ||
"module": { | ||
"description": "Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015' or 'esnext'.", | ||
"description": "Specify module code generation: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES6', 'ES2015', 'ES2020' or 'ESNext'. Only 'AMD' and 'System' can be used in conjunction with --outFile.", | ||
"type": "string", | ||
@@ -132,14 +135,15 @@ "anyOf": [ | ||
"enum": [ | ||
"commonjs", | ||
"amd", | ||
"umd", | ||
"system", | ||
"es6", | ||
"es2015", | ||
"esnext", | ||
"none" | ||
"CommonJS", | ||
"AMD", | ||
"System", | ||
"UMD", | ||
"ES6", | ||
"ES2015", | ||
"ES2020", | ||
"ESNext", | ||
"None" | ||
] | ||
}, | ||
{ | ||
"pattern": "^([cC][oO][mM][mM][oO][nN][jJ][sS]|[aAuU][mM][dD]|[sS][yY][sS][tT][eE][mM]|[eE][sS]([356]|(201[567])|[nN][eE][xX][tT])|[nN][oO][nN][eE])$" | ||
"pattern": "^([Cc][Oo][Mm][Mm][Oo][Nn][Jj][Ss]|[AaUu][Mm][Dd]|[Ss][Yy][Ss][Tt][Ee][Mm]|[Ee][Ss]([356]|201[567]|2020|[Nn][Ee][Xx][Tt])|[Nn][Oo][Nn][Ee])$" | ||
} | ||
@@ -149,3 +153,3 @@ ] | ||
"newLine": { | ||
"description": "Specifies the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).", | ||
"description": "Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix).", | ||
"type": "string", | ||
@@ -155,4 +159,4 @@ "anyOf": [ | ||
"enum": [ | ||
"CRLF", | ||
"LF" | ||
"crlf", | ||
"lf" | ||
] | ||
@@ -269,20 +273,22 @@ }, | ||
"target": { | ||
"description": "Specify ECMAScript target version. Permitted values are 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018' or 'esnext'.", | ||
"description": "Specify ECMAScript target version: 'ES3', 'ES5', 'ES6'/'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ESNext'", | ||
"type": "string", | ||
"default": "es3", | ||
"default": "ES3", | ||
"anyOf": [ | ||
{ | ||
"enum": [ | ||
"es3", | ||
"es5", | ||
"es6", | ||
"es2015", | ||
"es2016", | ||
"es2017", | ||
"es2018", | ||
"esnext" | ||
"ES3", | ||
"ES5", | ||
"ES6", | ||
"ES2015", | ||
"ES2016", | ||
"ES2017", | ||
"ES2018", | ||
"ES2019", | ||
"ES2020", | ||
"ESNext" | ||
] | ||
}, | ||
{ | ||
"pattern": "^([eE][sS]([356]|(201[5678])|[nN][eE][xX][tT]))$" | ||
"pattern": "^([Ee][Ss]([356]|(20(1[56789]|20))|[Nn][Ee][Xx][Tt]))$" | ||
} | ||
@@ -309,4 +315,4 @@ ] | ||
"enum": [ | ||
"classic", | ||
"node" | ||
"Classic", | ||
"Node" | ||
] | ||
@@ -419,41 +425,91 @@ }, | ||
"lib": { | ||
"description": "Specify library file to be included in the compilation. Requires TypeScript version 2.0 or later.", | ||
"description": "List of library files to be included in the compilation. Possible values are: 'ES5', 'ES6', 'ES2015', 'ES7', 'ES2016', 'ES2017', 'ES2018', 'ESNext', 'DOM', 'DOM.Iterable', 'WebWorker', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Include', 'ES2017.object', 'ES2017.Intl', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.TypedArrays', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ESNext.AsyncIterable', 'ESNext.Array', 'ESNext.Intl', 'ESNext.Symbol'. Requires TypeScript version 2.0 or later.", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"es5", | ||
"es6", | ||
"es2015", | ||
"es7", | ||
"es2016", | ||
"es2017", | ||
"es2018", | ||
"esnext", | ||
"dom", | ||
"dom.iterable", | ||
"webworker", | ||
"scripthost", | ||
"es2015.core", | ||
"es2015.collection", | ||
"es2015.generator", | ||
"es2015.iterable", | ||
"es2015.promise", | ||
"es2015.proxy", | ||
"es2015.reflect", | ||
"es2015.symbol", | ||
"es2015.symbol.wellknown", | ||
"es2016.array.include", | ||
"es2017.object", | ||
"es2017.intl", | ||
"es2017.sharedmemory", | ||
"es2017.string", | ||
"es2017.typedarrays", | ||
"es2018.intl", | ||
"es2018.promise", | ||
"es2018.regexp", | ||
"esnext.asynciterable", | ||
"esnext.array", | ||
"esnext.intl", | ||
"esnext.symbol" | ||
"anyOf": [ | ||
{ | ||
"enum": [ | ||
"ES5", | ||
"ES6", | ||
"ES7", | ||
"ES2015", | ||
"ES2015.Collection", | ||
"ES2015.Core", | ||
"ES2015.Generator", | ||
"ES2015.Iterable", | ||
"ES2015.Promise", | ||
"ES2015.Proxy", | ||
"ES2015.Reflect", | ||
"ES2015.Symbol.WellKnown", | ||
"ES2015.Symbol", | ||
"ES2016", | ||
"ES2016.Array.Include", | ||
"ES2017", | ||
"ES2017.Intl", | ||
"ES2017.Object", | ||
"ES2017.SharedMemory", | ||
"ES2017.String", | ||
"ES2017.TypedArrays", | ||
"ES2018", | ||
"ES2018.AsyncIterable", | ||
"ES2018.Intl", | ||
"ES2018.Promise", | ||
"ES2018.Regexp", | ||
"ES2019", | ||
"ES2019.Array", | ||
"ES2019.Object", | ||
"ES2019.String", | ||
"ES2019.Symbol", | ||
"ES2020", | ||
"ES2020.BigInt", | ||
"ES2020.Promise", | ||
"ES2020.String", | ||
"ES2020.Symbol.WellKnown", | ||
"ESNext", | ||
"ESNext.Array", | ||
"ESNext.AsyncIterable", | ||
"ESNext.BigInt", | ||
"ESNext.Intl", | ||
"ESNext.Symbol", | ||
"DOM", | ||
"DOM.Iterable", | ||
"ScriptHost", | ||
"WebWorker", | ||
"WebWorker.ImportScripts" | ||
] | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss]5|[Ee][Ss]6|[Ee][Ss]7$" | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss]2015(\\.([Cc][Oo][Ll][Ll][Ee][Cc][Tt][Ii][Oo][Nn]|[Cc][Oo][Rr][Ee]|[Gg][Ee][Nn][Ee][Rr][Aa][Tt][Oo][Rr]|[Ii][Tt][Ee][Rr][Aa][Bb][Ll][Ee]|[Pp][Rr][Oo][Mm][Ii][Ss][Ee]|[Pp][Rr][Oo][Xx][Yy]|[Rr][Ee][Ff][Ll][Ee][Cc][Tt]|[Ss][Yy][Mm][Bb][Oo][Ll].[Ww][Ee][Ll][Ll][Kk][Nn][Oo][Ww][Nn]|[Ss][Yy][Mm][Bb][Oo][Ll]))?$" | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss]2016(\\.[Aa][Rr][Rr][Aa][Yy].[Ii][Nn][Cc][Ll][Uu][Dd][Ee])?$" | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss]2017(\\.([Ii][Nn][Tt][Ll]|[Oo][Bb][Jj][Ee][Cc][Tt]|[Ss][Hh][Aa][Rr][Ee][Dd][Mm][Ee][Mm][Oo][Rr][Yy]|[Ss][Tt][Rr][Ii][Nn][Gg]|[Tt][Yy][Pp][Ee][Dd][Aa][Rr][Rr][Aa][Yy][Ss]))?$" | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss]2018(\\.([Aa][Ss][Yy][Nn][Cc][Ii][Tt][Ee][Rr][Aa][Bb][Ll][Ee]|[Ii][Nn][Tt][Ll]|[Pp][Rr][Oo][Mm][Ii][Ss][Ee]|[Rr][Ee][Gg][Ee][Xx][Pp]))?$" | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss]2019(\\.([Aa][Rr][Rr][Aa][Yy]|[Oo][Bb][Jj][Ee][Cc][Tt]|[Ss][Tt][Rr][Ii][Nn][Gg]|[Ss][Yy][Mm][Bb][Oo][Ll]))?$" | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss]2020(\\.([Bb][Ii][Gg][Ii][Nn][Tt]|[Pp][Rr][Oo][Mm][Ii][Ss][Ee]|[Ss][Tt][Rr][Ii][Nn][Gg]|[Ss][Yy][Mm][Bb][Oo][Ll].[Ww][Ee][Ll][Ll][Kk][Nn][Oo][Ww][Nn]))?$" | ||
}, | ||
{ | ||
"pattern": "^[Ee][Ss][Nn][Ee][Xx][Tt](\\.([Aa][Rr][Rr][Aa][Yy]|[Aa][Ss][Yy][Nn][Cc][Ii][Tt][Ee][Rr][Aa][Bb][Ll][Ee]|[Bb][Ii][Gg][Ii][Nn][Tt]|[Ii][Nn][Tt][Ll]|[Ss][Yy][Mm][Bb][Oo][Ll]))?$" | ||
}, | ||
{ | ||
"pattern": "^[Dd][Oo][Mm](\\.[Ii][Tt][Ee][Rr][Aa][Bb][Ll][Ee])?$" | ||
}, | ||
{ | ||
"pattern": "^[Ss][Cc][Rr][Ii][Pp][Tt][Hh][Oo][Ss][Tt]$" | ||
}, | ||
{ | ||
"pattern": "^[Ww][Ee][Bb][Ww][Oo][Rr][Kk][Ee][Rr](\\.[Ii][Mm][Pp][Oo][Rr][Tt][Ss][Cc][Rr][Ii][Pp][Tt][Ss])?$" | ||
} | ||
] | ||
@@ -475,2 +531,12 @@ } | ||
}, | ||
"importsNotUsedAsValues": { | ||
"description": "Specify emit/checking behavior for imports that are only used for types", | ||
"type": "string", | ||
"default": "remove", | ||
"enum": [ | ||
"remove", | ||
"preserve", | ||
"error" | ||
] | ||
}, | ||
"jsxFactory": { | ||
@@ -513,2 +579,6 @@ "description": "Specify the JSX factory function to use when targeting react JSX emit, e.g. 'React.createElement' or 'h'. Requires TypeScript version 2.1 or later.", | ||
}, | ||
"allowUmdGlobalAccess": { | ||
"description": "Allow accessing UMD globals from modules.", | ||
"type": "boolean" | ||
}, | ||
"keyofStringsOnly": { | ||
@@ -518,2 +588,6 @@ "description": "Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later.", | ||
}, | ||
"useDefineForClassFields": { | ||
"description": "Emit ECMAScript standard class fields. Requires TypeScript version 3.7 or later.", | ||
"type": "boolean" | ||
}, | ||
"declarationMap": { | ||
@@ -526,2 +600,6 @@ "description": "Generates a sourcemap for each corresponding '.d.ts' file. Requires TypeScript version 2.9 or later.", | ||
"type": "boolean" | ||
}, | ||
"assumeChangesOnlyAffectDirectDependencies": { | ||
"description": "Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.", | ||
"type": "boolean" | ||
} | ||
@@ -578,2 +656,96 @@ } | ||
} | ||
}, | ||
"tsNodeDefinition": { | ||
"properties": { | ||
"ts-node": { | ||
"description": "ts-node options. See also: https://github.com/TypeStrong/ts-node#configuration-options\n\nts-node offers TypeScript execution and REPL for node.js, with source map support.", | ||
"properties": { | ||
"compiler": { | ||
"default": "typescript", | ||
"description": "Specify a custom TypeScript compiler.", | ||
"type": "string" | ||
}, | ||
"compilerHost": { | ||
"default": false, | ||
"description": "Use TypeScript's compiler host API.", | ||
"type": "boolean" | ||
}, | ||
"compilerOptions": { | ||
"additionalProperties": true, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/compilerOptionsDefinition/properties/compilerOptions" | ||
} | ||
], | ||
"description": "JSON object to merge with compiler options.", | ||
"properties": {}, | ||
"type": "object" | ||
}, | ||
"emit": { | ||
"default": false, | ||
"description": "Emit output files into `.ts-node` directory.", | ||
"type": "boolean" | ||
}, | ||
"files": { | ||
"default": false, | ||
"description": "Load files from `tsconfig.json` on startup.", | ||
"type": "boolean" | ||
}, | ||
"ignore": { | ||
"default": "/node_modules/", | ||
"description": "Override the path patterns to skip compilation.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"ignoreDiagnostics": { | ||
"description": "Ignore TypeScript warnings by diagnostic code.", | ||
"items": { | ||
"type": [ | ||
"string", | ||
"number" | ||
] | ||
}, | ||
"type": "array" | ||
}, | ||
"logError": { | ||
"default": false, | ||
"description": "Logs TypeScript errors to stderr instead of throwing exceptions.", | ||
"type": "boolean" | ||
}, | ||
"preferTsExts": { | ||
"default": false, | ||
"description": "Re-order file extensions so that TypeScript imports are preferred.", | ||
"type": "boolean" | ||
}, | ||
"pretty": { | ||
"default": false, | ||
"description": "Use pretty diagnostic formatter.", | ||
"type": "boolean" | ||
}, | ||
"scope": { | ||
"default": false, | ||
"description": "Scope compiler to files within `cwd`.", | ||
"type": "boolean" | ||
}, | ||
"skipIgnore": { | ||
"default": false, | ||
"description": "Skip ignore check.", | ||
"type": "boolean" | ||
}, | ||
"transpileOnly": { | ||
"default": false, | ||
"description": "Use TypeScript's faster `transpileModule`.", | ||
"type": "boolean" | ||
}, | ||
"typeCheck": { | ||
"default": true, | ||
"description": "**DEPRECATED** Specify type-check is enabled (e.g. `transpileOnly == false`).", | ||
"type": "boolean" | ||
} | ||
}, | ||
"type": "object" | ||
} | ||
} | ||
} | ||
@@ -596,2 +768,5 @@ }, | ||
{ | ||
"$ref": "#/definitions/tsNodeDefinition" | ||
}, | ||
{ | ||
"anyOf": [ | ||
@@ -598,0 +773,0 @@ { |
@@ -12,3 +12,3 @@ /* tslint:disable */ | ||
*/ | ||
export type Rule = number | ("off" | "warn" | "error") | any[]; | ||
export type Rule = number | ("off" | "warn" | "error") | unknown[]; | ||
@@ -57,3 +57,3 @@ export interface JSONSchemaForESLintConfigurationFiles { | ||
unicodeCodePointEscapes?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -164,3 +164,3 @@ /** | ||
worker?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -177,2 +177,6 @@ /** | ||
}; | ||
/** | ||
* Prevent comments from changing config or rules | ||
*/ | ||
noInlineConfig?: boolean; | ||
parser?: string; | ||
@@ -224,8 +228,8 @@ /** | ||
unicodeCodePointEscapes?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Set to 3, 5 (default), 6, 7, 8, or 9 to specify the version of ECMAScript you want to use. Alternatively, set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), or 2018 (same as 9) to use year-based naming. | ||
* Set to 3, 5 (default), 6, 7, 8, 9, 10 or 11 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10) or 2020 (same as 11) to use the year-based naming. | ||
*/ | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018; | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018 | 10 | 2019 | 11 | 2020; | ||
/** | ||
@@ -235,3 +239,3 @@ * set to "script" (default) or "module" if your code is in ECMAScript modules | ||
sourceType?: "script" | "module"; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -247,2 +251,6 @@ /** | ||
/** | ||
* Tell ESLint to ignore specific files and directories. Each value uses the same pattern as the `.eslintignore` file. | ||
*/ | ||
ignorePatterns?: string[]; | ||
/** | ||
* ESLint comes with a large number of rules. You can modify which rules your project uses either using configuration comments or configuration files. | ||
@@ -262,3 +270,3 @@ */ | ||
settings?: { | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -274,2 +282,6 @@ /** | ||
/** | ||
* If you want to extend a specific configuration file, you can use the extends property and specify the path to the file. The path can be either relative or absolute. | ||
*/ | ||
extends?: string[] | string[]; | ||
/** | ||
* If a file matches any of the 'excludedFiles' glob patterns, the 'overrides' configuration won’t apply | ||
@@ -319,3 +331,3 @@ */ | ||
unicodeCodePointEscapes?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -426,3 +438,3 @@ /** | ||
worker?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -481,8 +493,8 @@ /** | ||
unicodeCodePointEscapes?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Set to 3, 5 (default), 6, 7, 8, or 9 to specify the version of ECMAScript you want to use. Alternatively, set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), or 2018 (same as 9) to use year-based naming. | ||
* Set to 3, 5 (default), 6, 7, 8, 9, 10 or 11 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10) or 2020 (same as 11) to use the year-based naming. | ||
*/ | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018; | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018 | 10 | 2019 | 11 | 2020; | ||
/** | ||
@@ -492,3 +504,3 @@ * set to "script" (default) or "module" if your code is in ECMAScript modules | ||
sourceType?: "script" | "module"; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -500,2 +512,6 @@ /** | ||
/** | ||
* To specify a processor, specify the plugin name and processor name joined by a forward slash | ||
*/ | ||
processor?: string; | ||
/** | ||
* ESLint comes with a large number of rules. You can modify which rules your project uses either using configuration comments or configuration files. | ||
@@ -515,6 +531,6 @@ */ | ||
settings?: { | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
}[]; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -529,123 +545,123 @@ /** | ||
*/ | ||
"comma-dangle"?: number | ("off" | "warn" | "error") | any[]; | ||
"comma-dangle"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce “for” loop update clause moving the counter in the right direction | ||
*/ | ||
"for-direction"?: number | ("off" | "warn" | "error") | any[]; | ||
"for-direction"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce return statements in getters | ||
*/ | ||
"getter-return"?: number | ("off" | "warn" | "error") | any[]; | ||
"getter-return"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow await inside of loops | ||
*/ | ||
"no-await-in-loop"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-await-in-loop"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow comparing against -0 | ||
*/ | ||
"no-compare-neg-zero"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-compare-neg-zero"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow assignment operators in conditional expressions | ||
*/ | ||
"no-cond-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-cond-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of console | ||
*/ | ||
"no-console"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-console"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow constant expressions in conditions | ||
*/ | ||
"no-constant-condition"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-constant-condition"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow control characters in regular expressions | ||
*/ | ||
"no-control-regex"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-control-regex"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of debugger | ||
*/ | ||
"no-debugger"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-debugger"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow duplicate arguments in function definitions | ||
*/ | ||
"no-dupe-args"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-dupe-args"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow duplicate keys in object literals | ||
*/ | ||
"no-dupe-keys"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-dupe-keys"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow duplicate case labels | ||
*/ | ||
"no-duplicate-case"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-duplicate-case"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow empty block statements | ||
*/ | ||
"no-empty"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-empty"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow empty character classes in regular expressions | ||
*/ | ||
"no-empty-character-class"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-empty-character-class"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow reassigning exceptions in catch clauses | ||
*/ | ||
"no-ex-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-ex-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary boolean casts | ||
*/ | ||
"no-extra-boolean-cast"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-extra-boolean-cast"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary parentheses | ||
*/ | ||
"no-extra-parens"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-extra-parens"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary semicolons | ||
*/ | ||
"no-extra-semi"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-extra-semi"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow reassigning function declarations | ||
*/ | ||
"no-func-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-func-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow function or var declarations in nested blocks | ||
*/ | ||
"no-inner-declarations"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-inner-declarations"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow invalid regular expression strings in RegExp constructors | ||
*/ | ||
"no-invalid-regexp"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-invalid-regexp"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow irregular whitespace outside of strings and comments | ||
*/ | ||
"no-irregular-whitespace"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-irregular-whitespace"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow negating the left operand in in expressions (deprecated) | ||
*/ | ||
"no-negated-in-lhs"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-negated-in-lhs"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow calling global object properties as functions | ||
*/ | ||
"no-obj-calls"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-obj-calls"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow calling some Object.prototype methods directly on objects | ||
*/ | ||
"no-prototype-builtins"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-prototype-builtins"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow multiple spaces in regular expressions | ||
*/ | ||
"no-regex-spaces"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-regex-spaces"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow sparse arrays | ||
*/ | ||
"no-sparse-arrays"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-sparse-arrays"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow template literal placeholder syntax in regular strings | ||
*/ | ||
"no-template-curly-in-string"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-template-curly-in-string"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow confusing multiline expressions | ||
*/ | ||
"no-unexpected-multiline"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unexpected-multiline"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unreachable code after return, throw, continue, and break statements | ||
*/ | ||
"no-unreachable"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unreachable"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
@@ -655,3 +671,3 @@ * Disallow control flow statements in finally blocks | ||
"no-unsafe-finally"?: { | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -661,16 +677,16 @@ /** | ||
*/ | ||
"no-unsafe-negation"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unsafe-negation"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require calls to isNaN() when checking for NaN | ||
*/ | ||
"use-isnan"?: number | ("off" | "warn" | "error") | any[]; | ||
"use-isnan"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce valid JSDoc comments | ||
*/ | ||
"valid-jsdoc"?: number | ("off" | "warn" | "error") | any[]; | ||
"valid-jsdoc"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce comparing typeof expressions against valid strings | ||
*/ | ||
"valid-typeof"?: number | ("off" | "warn" | "error") | any[]; | ||
[k: string]: any; | ||
"valid-typeof"?: number | ("off" | "warn" | "error") | unknown[]; | ||
[k: string]: unknown; | ||
} | ||
@@ -685,151 +701,151 @@ /** | ||
*/ | ||
"accessor-pairs"?: number | ("off" | "warn" | "error") | any[]; | ||
"accessor-pairs"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce return statements in callbacks of array methods | ||
*/ | ||
"array-callback-return"?: number | ("off" | "warn" | "error") | any[]; | ||
"array-callback-return"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce the use of variables within the scope they are defined | ||
*/ | ||
"block-scoped-var"?: number | ("off" | "warn" | "error") | any[]; | ||
"block-scoped-var"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce that class methods utilize this | ||
*/ | ||
"class-methods-use-this"?: number | ("off" | "warn" | "error") | any[]; | ||
"class-methods-use-this"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum cyclomatic complexity allowed in a program | ||
*/ | ||
complexity?: number | ("off" | "warn" | "error") | any[]; | ||
complexity?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require return statements to either always or never specify values | ||
*/ | ||
"consistent-return"?: number | ("off" | "warn" | "error") | any[]; | ||
"consistent-return"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent brace style for all control statements | ||
*/ | ||
curly?: number | ("off" | "warn" | "error") | any[]; | ||
curly?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require default cases in switch statements | ||
*/ | ||
"default-case"?: number | ("off" | "warn" | "error") | any[]; | ||
"default-case"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent newlines before and after dots | ||
*/ | ||
"dot-location"?: number | ("off" | "warn" | "error") | any[]; | ||
"dot-location"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce dot notation whenever possible | ||
*/ | ||
"dot-notation"?: number | ("off" | "warn" | "error") | any[]; | ||
"dot-notation"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require the use of === and !== | ||
*/ | ||
eqeqeq?: number | ("off" | "warn" | "error") | any[]; | ||
eqeqeq?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require for-in loops to include an if statement | ||
*/ | ||
"guard-for-in"?: number | ("off" | "warn" | "error") | any[]; | ||
"guard-for-in"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of alert, confirm, and prompt | ||
*/ | ||
"no-alert"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-alert"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of arguments.caller or arguments.callee | ||
*/ | ||
"no-caller"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-caller"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow lexical declarations in case clauses | ||
*/ | ||
"no-case-declarations"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-case-declarations"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow division operators explicitly at the beginning of regular expressions | ||
*/ | ||
"no-div-regex"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-div-regex"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow else blocks after return statements in if statements | ||
*/ | ||
"no-else-return"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-else-return"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow empty functions | ||
*/ | ||
"no-empty-function"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-empty-function"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow empty destructuring patterns | ||
*/ | ||
"no-empty-pattern"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-empty-pattern"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow null comparisons without type-checking operators | ||
*/ | ||
"no-eq-null"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-eq-null"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of eval() | ||
*/ | ||
"no-eval"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-eval"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow extending native types | ||
*/ | ||
"no-extend-native"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-extend-native"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary calls to .bind() | ||
*/ | ||
"no-extra-bind"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-extra-bind"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary labels | ||
*/ | ||
"no-extra-label"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-extra-label"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow fallthrough of case statements | ||
*/ | ||
"no-fallthrough"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-fallthrough"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow leading or trailing decimal points in numeric literals | ||
*/ | ||
"no-floating-decimal"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-floating-decimal"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow assignments to native objects or read-only global variables | ||
*/ | ||
"no-global-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-global-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow shorthand type conversions | ||
*/ | ||
"no-implicit-coercion"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-implicit-coercion"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow var and named function declarations in the global scope | ||
*/ | ||
"no-implicit-globals"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-implicit-globals"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of eval()-like methods | ||
*/ | ||
"no-implied-eval"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-implied-eval"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow this keywords outside of classes or class-like objects | ||
*/ | ||
"no-invalid-this"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-invalid-this"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of the __iterator__ property | ||
*/ | ||
"no-iterator"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-iterator"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow labeled statements | ||
*/ | ||
"no-labels"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-labels"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary nested blocks | ||
*/ | ||
"no-lone-blocks"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-lone-blocks"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow function declarations and expressions inside loop statements | ||
*/ | ||
"no-loop-func"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-loop-func"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow magic numbers | ||
*/ | ||
"no-magic-numbers"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-magic-numbers"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow multiple spaces | ||
*/ | ||
"no-multi-spaces"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-multi-spaces"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow multiline strings | ||
*/ | ||
"no-multi-str"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-multi-str"?: number | ("off" | "warn" | "error") | unknown[]; | ||
"no-native-reassign"?: Rule; | ||
@@ -839,128 +855,128 @@ /** | ||
*/ | ||
"no-new"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-new"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow new operators with the Function object | ||
*/ | ||
"no-new-func"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-new-func"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow new operators with the String, Number, and Boolean objects | ||
*/ | ||
"no-new-wrappers"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-new-wrappers"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow octal literals | ||
*/ | ||
"no-octal"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-octal"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow octal escape sequences in string literals | ||
*/ | ||
"no-octal-escape"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-octal-escape"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow reassigning function parameters | ||
*/ | ||
"no-param-reassign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-param-reassign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of the __proto__ property | ||
*/ | ||
"no-proto"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-proto"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow var redeclaration | ||
*/ | ||
"no-redeclare"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-redeclare"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow certain properties on certain objects | ||
*/ | ||
"no-restricted-properties"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-restricted-properties"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow assignment operators in return statements | ||
*/ | ||
"no-return-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-return-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary return await | ||
*/ | ||
"no-return-await"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-return-await"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow javascript: urls | ||
*/ | ||
"no-script-url"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-script-url"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow assignments where both sides are exactly the same | ||
*/ | ||
"no-self-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-self-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow comparisons where both sides are exactly the same | ||
*/ | ||
"no-self-compare"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-self-compare"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow comma operators | ||
*/ | ||
"no-sequences"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-sequences"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow throwing literals as exceptions | ||
*/ | ||
"no-throw-literal"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-throw-literal"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unmodified loop conditions | ||
*/ | ||
"no-unmodified-loop-condition"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unmodified-loop-condition"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unused expressions | ||
*/ | ||
"no-unused-expressions"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unused-expressions"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unused labels | ||
*/ | ||
"no-unused-labels"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unused-labels"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary calls to .call() and .apply() | ||
*/ | ||
"no-useless-call"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-useless-call"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary concatenation of literals or template literals | ||
*/ | ||
"no-useless-concat"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-useless-concat"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary escape characters | ||
*/ | ||
"no-useless-escape"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-useless-escape"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow redundant return statements | ||
*/ | ||
"no-useless-return"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-useless-return"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow void operators | ||
*/ | ||
"no-void"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-void"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow specified warning terms in comments | ||
*/ | ||
"no-warning-comments"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-warning-comments"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow with statements | ||
*/ | ||
"no-with"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-with"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require using Error objects as Promise rejection reasons | ||
*/ | ||
"prefer-promise-reject-errors"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-promise-reject-errors"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce the consistent use of the radix argument when using parseInt() | ||
*/ | ||
radix?: number | ("off" | "warn" | "error") | any[]; | ||
radix?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow async functions which have no await expression | ||
*/ | ||
"require-await"?: number | ("off" | "warn" | "error") | any[]; | ||
"require-await"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require var declarations be placed at the top of their containing scope | ||
*/ | ||
"vars-on-top"?: number | ("off" | "warn" | "error") | any[]; | ||
"vars-on-top"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require parentheses around immediate function invocations | ||
*/ | ||
"wrap-iife"?: number | ("off" | "warn" | "error") | any[]; | ||
"wrap-iife"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or Disallow “Yoda” conditions | ||
*/ | ||
yoda?: number | ("off" | "warn" | "error") | any[]; | ||
[k: string]: any; | ||
yoda?: number | ("off" | "warn" | "error") | unknown[]; | ||
[k: string]: unknown; | ||
} | ||
@@ -975,4 +991,4 @@ /** | ||
*/ | ||
strict?: number | ("off" | "warn" | "error") | any[]; | ||
[k: string]: any; | ||
strict?: number | ("off" | "warn" | "error") | unknown[]; | ||
[k: string]: unknown; | ||
} | ||
@@ -987,48 +1003,48 @@ /** | ||
*/ | ||
"init-declarations"?: number | ("off" | "warn" | "error") | any[]; | ||
"init-declarations"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow catch clause parameters from shadowing variables in the outer scope | ||
*/ | ||
"no-catch-shadow"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-catch-shadow"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow deleting variables | ||
*/ | ||
"no-delete-var"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-delete-var"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow labels that share a name with a variable | ||
*/ | ||
"no-label-var"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-label-var"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow specified global variables | ||
*/ | ||
"no-restricted-globals"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-restricted-globals"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow var declarations from shadowing variables in the outer scope | ||
*/ | ||
"no-shadow"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-shadow"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow identifiers from shadowing restricted names | ||
*/ | ||
"no-shadow-restricted-names"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-shadow-restricted-names"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of undeclared variables unless mentioned in /*global * / comments | ||
*/ | ||
"no-undef"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-undef"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of undefined as an identifier | ||
*/ | ||
"no-undefined"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-undefined"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow initializing variables to undefined | ||
*/ | ||
"no-undef-init"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-undef-init"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unused variables | ||
*/ | ||
"no-unused-vars"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unused-vars"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of variables before they are defined | ||
*/ | ||
"no-use-before-define"?: number | ("off" | "warn" | "error") | any[]; | ||
[k: string]: any; | ||
"no-use-before-define"?: number | ("off" | "warn" | "error") | unknown[]; | ||
[k: string]: unknown; | ||
} | ||
@@ -1043,44 +1059,44 @@ /** | ||
*/ | ||
"callback-return"?: number | ("off" | "warn" | "error") | any[]; | ||
"callback-return"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require require() calls to be placed at top-level module scope | ||
*/ | ||
"global-require"?: number | ("off" | "warn" | "error") | any[]; | ||
"global-require"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require error handling in callbacks | ||
*/ | ||
"handle-callback-err"?: number | ("off" | "warn" | "error") | any[]; | ||
"handle-callback-err"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow use of the Buffer() constructor | ||
*/ | ||
"no-buffer-constructor"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-buffer-constructor"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow require calls to be mixed with regular var declarations | ||
*/ | ||
"no-mixed-requires"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-mixed-requires"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow new operators with calls to require | ||
*/ | ||
"no-new-require"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-new-require"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow string concatenation with __dirname and __filename | ||
*/ | ||
"no-path-concat"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-path-concat"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of process.env | ||
*/ | ||
"no-process-env"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-process-env"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the use of process.exit() | ||
*/ | ||
"no-process-exit"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-process-exit"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow specified modules when loaded by require | ||
*/ | ||
"no-restricted-modules"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-restricted-modules"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow synchronous methods | ||
*/ | ||
"no-sync"?: number | ("off" | "warn" | "error") | any[]; | ||
[k: string]: any; | ||
"no-sync"?: number | ("off" | "warn" | "error") | unknown[]; | ||
[k: string]: unknown; | ||
} | ||
@@ -1095,239 +1111,243 @@ /** | ||
*/ | ||
"array-bracket-newline"?: number | ("off" | "warn" | "error") | any[]; | ||
"array-bracket-newline"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing inside array brackets | ||
*/ | ||
"array-bracket-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"array-bracket-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce line breaks after each array element | ||
*/ | ||
"array-element-newline"?: number | ("off" | "warn" | "error") | any[]; | ||
"array-element-newline"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing inside single-line blocks | ||
*/ | ||
"block-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"block-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent brace style for blocks | ||
*/ | ||
"brace-style"?: number | ("off" | "warn" | "error") | any[]; | ||
"brace-style"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce camelcase naming convention | ||
*/ | ||
camelcase?: number | ("off" | "warn" | "error") | any[]; | ||
camelcase?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce or disallow capitalization of the first letter of a comment | ||
*/ | ||
"capitalized-comments"?: number | ("off" | "warn" | "error") | any[]; | ||
"capitalized-comments"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow trailing commas | ||
*/ | ||
"comma-dangle"?: number | ("off" | "warn" | "error") | any[]; | ||
"comma-dangle"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing before and after commas | ||
*/ | ||
"comma-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"comma-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent comma style | ||
*/ | ||
"comma-style"?: number | ("off" | "warn" | "error") | any[]; | ||
"comma-style"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing inside computed property brackets | ||
*/ | ||
"computed-property-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"computed-property-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent naming when capturing the current execution context | ||
*/ | ||
"consistent-this"?: number | ("off" | "warn" | "error") | any[]; | ||
"consistent-this"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce at least one newline at the end of files | ||
*/ | ||
"eol-last"?: number | ("off" | "warn" | "error") | any[]; | ||
"eol-last"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow spacing between function identifiers and their invocations | ||
*/ | ||
"func-call-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"func-call-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require function names to match the name of the variable or property to which they are assigned | ||
*/ | ||
"func-name-matching"?: number | ("off" | "warn" | "error") | any[]; | ||
"func-name-matching"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow named function expressions | ||
*/ | ||
"func-names"?: number | ("off" | "warn" | "error") | any[]; | ||
"func-names"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce the consistent use of either function declarations or expressions | ||
*/ | ||
"func-style"?: number | ("off" | "warn" | "error") | any[]; | ||
"func-style"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce line breaks between arguments of a function call | ||
*/ | ||
"function-call-argument-newline"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent line breaks inside function parentheses | ||
*/ | ||
"function-paren-newline"?: number | ("off" | "warn" | "error") | any[]; | ||
"function-paren-newline"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow specified identifiers | ||
*/ | ||
"id-blacklist"?: number | ("off" | "warn" | "error") | any[]; | ||
"id-blacklist"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce minimum and maximum identifier lengths | ||
*/ | ||
"id-length"?: number | ("off" | "warn" | "error") | any[]; | ||
"id-length"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require identifiers to match a specified regular expression | ||
*/ | ||
"id-match"?: number | ("off" | "warn" | "error") | any[]; | ||
"id-match"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce the location of arrow function bodies | ||
*/ | ||
"implicit-arrow-linebreak"?: number | ("off" | "warn" | "error") | any[]; | ||
"implicit-arrow-linebreak"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent indentation | ||
*/ | ||
indent?: number | ("off" | "warn" | "error") | any[]; | ||
indent?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent indentation (legacy, deprecated) | ||
*/ | ||
"indent-legacy"?: number | ("off" | "warn" | "error") | any[]; | ||
"indent-legacy"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce the consistent use of either double or single quotes in JSX attributes | ||
*/ | ||
"jsx-quotes"?: number | ("off" | "warn" | "error") | any[]; | ||
"jsx-quotes"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing between keys and values in object literal properties | ||
*/ | ||
"key-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"key-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing before and after keywords | ||
*/ | ||
"keyword-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"keyword-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce position of line comments | ||
*/ | ||
"line-comment-position"?: number | ("off" | "warn" | "error") | any[]; | ||
"line-comment-position"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow an empty line between class members | ||
*/ | ||
"lines-between-class-members"?: number | ("off" | "warn" | "error") | any[]; | ||
"lines-between-class-members"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent linebreak style | ||
*/ | ||
"linebreak-style"?: number | ("off" | "warn" | "error") | any[]; | ||
"linebreak-style"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require empty lines around comments | ||
*/ | ||
"lines-around-comment"?: number | ("off" | "warn" | "error") | any[]; | ||
"lines-around-comment"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow newlines around directives | ||
*/ | ||
"lines-around-directive"?: number | ("off" | "warn" | "error") | any[]; | ||
"lines-around-directive"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum depth that blocks can be nested | ||
*/ | ||
"max-depth"?: number | ("off" | "warn" | "error") | any[]; | ||
"max-depth"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum line length | ||
*/ | ||
"max-len"?: number | ("off" | "warn" | "error") | any[]; | ||
"max-len"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum number of lines per file | ||
*/ | ||
"max-lines"?: number | ("off" | "warn" | "error") | any[]; | ||
"max-lines"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum depth that callbacks can be nested | ||
*/ | ||
"max-nested-callbacks"?: number | ("off" | "warn" | "error") | any[]; | ||
"max-nested-callbacks"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum number of parameters in function definitions | ||
*/ | ||
"max-params"?: number | ("off" | "warn" | "error") | any[]; | ||
"max-params"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum number of statements allowed in function blocks | ||
*/ | ||
"max-statements"?: number | ("off" | "warn" | "error") | any[]; | ||
"max-statements"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a maximum number of statements allowed per line | ||
*/ | ||
"max-statements-per-line"?: number | ("off" | "warn" | "error") | any[]; | ||
"max-statements-per-line"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce a particular style for multiline comments | ||
*/ | ||
"multiline-comment-style"?: number | ("off" | "warn" | "error") | any[]; | ||
"multiline-comment-style"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce newlines between operands of ternary expressions | ||
*/ | ||
"multiline-ternary"?: number | ("off" | "warn" | "error") | any[]; | ||
"multiline-ternary"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require constructor function names to begin with a capital letter | ||
*/ | ||
"new-cap"?: number | ("off" | "warn" | "error") | any[]; | ||
"new-cap"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow an empty line after var declarations | ||
*/ | ||
"newline-after-var"?: number | ("off" | "warn" | "error") | any[]; | ||
"newline-after-var"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require an empty line before return statements | ||
*/ | ||
"newline-before-return"?: number | ("off" | "warn" | "error") | any[]; | ||
"newline-before-return"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require a newline after each call in a method chain | ||
*/ | ||
"newline-per-chained-call"?: number | ("off" | "warn" | "error") | any[]; | ||
"newline-per-chained-call"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require parentheses when invoking a constructor with no arguments | ||
*/ | ||
"new-parens"?: number | ("off" | "warn" | "error") | any[]; | ||
"new-parens"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow Array constructors | ||
*/ | ||
"no-array-constructor"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-array-constructor"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow bitwise operators | ||
*/ | ||
"no-bitwise"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-bitwise"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow continue statements | ||
*/ | ||
"no-continue"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-continue"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow inline comments after code | ||
*/ | ||
"no-inline-comments"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-inline-comments"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow if statements as the only statement in else blocks | ||
*/ | ||
"no-lonely-if"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-lonely-if"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow mixed binary operators | ||
*/ | ||
"no-mixed-operators"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-mixed-operators"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow mixed spaces and tabs for indentation | ||
*/ | ||
"no-mixed-spaces-and-tabs"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-mixed-spaces-and-tabs"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow use of chained assignment expressions | ||
*/ | ||
"no-multi-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-multi-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow multiple empty lines | ||
*/ | ||
"no-multiple-empty-lines"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-multiple-empty-lines"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow negated conditions | ||
*/ | ||
"no-negated-condition"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-negated-condition"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow nested ternary expressions | ||
*/ | ||
"no-nested-ternary"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-nested-ternary"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow Object constructors | ||
*/ | ||
"no-new-object"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-new-object"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow the unary operators ++ and -- | ||
*/ | ||
"no-plusplus"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-plusplus"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow specified syntax | ||
*/ | ||
"no-restricted-syntax"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-restricted-syntax"?: number | ("off" | "warn" | "error") | unknown[]; | ||
"no-spaced-func"?: Rule; | ||
@@ -1337,39 +1357,39 @@ /** | ||
*/ | ||
"no-tabs"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-tabs"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow ternary operators | ||
*/ | ||
"no-ternary"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-ternary"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow trailing whitespace at the end of lines | ||
*/ | ||
"no-trailing-spaces"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-trailing-spaces"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow dangling underscores in identifiers | ||
*/ | ||
"no-underscore-dangle"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-underscore-dangle"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow ternary operators when simpler alternatives exist | ||
*/ | ||
"no-unneeded-ternary"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-unneeded-ternary"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow whitespace before properties | ||
*/ | ||
"no-whitespace-before-property"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-whitespace-before-property"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce the location of single-line statements | ||
*/ | ||
"nonblock-statement-body-position"?: number | ("off" | "warn" | "error") | any[]; | ||
"nonblock-statement-body-position"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent line breaks inside braces | ||
*/ | ||
"object-curly-newline"?: number | ("off" | "warn" | "error") | any[]; | ||
"object-curly-newline"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing inside braces | ||
*/ | ||
"object-curly-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"object-curly-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce placing object properties on separate lines | ||
*/ | ||
"object-property-newline"?: number | ("off" | "warn" | "error") | any[]; | ||
"object-property-newline"?: number | ("off" | "warn" | "error") | unknown[]; | ||
"object-shorthand"?: Rule; | ||
@@ -1379,96 +1399,96 @@ /** | ||
*/ | ||
"one-var"?: number | ("off" | "warn" | "error") | any[]; | ||
"one-var"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow newlines around var declarations | ||
*/ | ||
"one-var-declaration-per-line"?: number | ("off" | "warn" | "error") | any[]; | ||
"one-var-declaration-per-line"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow assignment operator shorthand where possible | ||
*/ | ||
"operator-assignment"?: number | ("off" | "warn" | "error") | any[]; | ||
"operator-assignment"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent linebreak style for operators | ||
*/ | ||
"operator-linebreak"?: number | ("off" | "warn" | "error") | any[]; | ||
"operator-linebreak"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow padding within blocks | ||
*/ | ||
"padded-blocks"?: number | ("off" | "warn" | "error") | any[]; | ||
"padded-blocks"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow padding lines between statements | ||
*/ | ||
"padding-line-between-statements"?: number | ("off" | "warn" | "error") | any[]; | ||
"padding-line-between-statements"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require quotes around object literal property names | ||
*/ | ||
"quote-props"?: number | ("off" | "warn" | "error") | any[]; | ||
"quote-props"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce the consistent use of either backticks, double, or single quotes | ||
*/ | ||
quotes?: number | ("off" | "warn" | "error") | any[]; | ||
quotes?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require JSDoc comments | ||
*/ | ||
"require-jsdoc"?: number | ("off" | "warn" | "error") | any[]; | ||
"require-jsdoc"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow semicolons instead of ASI | ||
*/ | ||
semi?: number | ("off" | "warn" | "error") | any[]; | ||
semi?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing before and after semicolons | ||
*/ | ||
"semi-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"semi-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce location of semicolons | ||
*/ | ||
"semi-style"?: number | ("off" | "warn" | "error") | any[]; | ||
"semi-style"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Requires object keys to be sorted | ||
*/ | ||
"sort-keys"?: number | ("off" | "warn" | "error") | any[]; | ||
"sort-keys"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require variables within the same declaration block to be sorted | ||
*/ | ||
"sort-vars"?: number | ("off" | "warn" | "error") | any[]; | ||
"sort-vars"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing before blocks | ||
*/ | ||
"space-before-blocks"?: number | ("off" | "warn" | "error") | any[]; | ||
"space-before-blocks"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing before function definition opening parenthesis | ||
*/ | ||
"space-before-function-paren"?: number | ("off" | "warn" | "error") | any[]; | ||
"space-before-function-paren"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing after the // or /* in a comment | ||
*/ | ||
"spaced-comment"?: number | ("off" | "warn" | "error") | any[]; | ||
"spaced-comment"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require spacing around operators | ||
*/ | ||
"space-infix-ops"?: number | ("off" | "warn" | "error") | any[]; | ||
"space-infix-ops"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing inside parentheses | ||
*/ | ||
"space-in-parens"?: number | ("off" | "warn" | "error") | any[]; | ||
"space-in-parens"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing before or after unary operators | ||
*/ | ||
"space-unary-ops"?: number | ("off" | "warn" | "error") | any[]; | ||
"space-unary-ops"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce spacing around colons of switch statements | ||
*/ | ||
"switch-colon-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"switch-colon-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow spacing between template tags and their literals | ||
*/ | ||
"template-tag-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"template-tag-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow Unicode byte order mark (BOM) | ||
*/ | ||
"unicode-bom"?: number | ("off" | "warn" | "error") | any[]; | ||
"unicode-bom"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require parenthesis around regex literals | ||
*/ | ||
"wrap-regex"?: number | ("off" | "warn" | "error") | any[]; | ||
[k: string]: any; | ||
"wrap-regex"?: number | ("off" | "warn" | "error") | unknown[]; | ||
[k: string]: unknown; | ||
} | ||
@@ -1483,128 +1503,128 @@ /** | ||
*/ | ||
"arrow-body-style"?: number | ("off" | "warn" | "error") | any[]; | ||
"arrow-body-style"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require parentheses around arrow function arguments | ||
*/ | ||
"arrow-parens"?: number | ("off" | "warn" | "error") | any[]; | ||
"arrow-parens"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing before and after the arrow in arrow functions | ||
*/ | ||
"arrow-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"arrow-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require super() calls in constructors | ||
*/ | ||
"constructor-super"?: number | ("off" | "warn" | "error") | any[]; | ||
"constructor-super"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce consistent spacing around * operators in generator functions | ||
*/ | ||
"generator-star-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"generator-star-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow reassigning class members | ||
*/ | ||
"no-class-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-class-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow arrow functions where they could be confused with comparisons | ||
*/ | ||
"no-confusing-arrow"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-confusing-arrow"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow reassigning const variables | ||
*/ | ||
"no-const-assign"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-const-assign"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow duplicate class members | ||
*/ | ||
"no-dupe-class-members"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-dupe-class-members"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow duplicate module imports | ||
*/ | ||
"no-duplicate-imports"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-duplicate-imports"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow new operators with the Symbol object | ||
*/ | ||
"no-new-symbol"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-new-symbol"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow specified modules when loaded by import | ||
*/ | ||
"no-restricted-imports"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-restricted-imports"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow this/super before calling super() in constructors | ||
*/ | ||
"no-this-before-super"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-this-before-super"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary computed property keys in object literals | ||
*/ | ||
"no-useless-computed-key"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-useless-computed-key"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow unnecessary constructors | ||
*/ | ||
"no-useless-constructor"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-useless-constructor"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow renaming import, export, and destructured assignments to the same name | ||
*/ | ||
"no-useless-rename"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-useless-rename"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require let or const instead of var | ||
*/ | ||
"no-var"?: number | ("off" | "warn" | "error") | any[]; | ||
"no-var"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow method and property shorthand syntax for object literals | ||
*/ | ||
"object-shorthand"?: number | ("off" | "warn" | "error") | any[]; | ||
"object-shorthand"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require arrow functions as callbacks | ||
*/ | ||
"prefer-arrow-callback"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-arrow-callback"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require const declarations for variables that are never reassigned after declared | ||
*/ | ||
"prefer-const"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-const"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require destructuring from arrays and/or objects | ||
*/ | ||
"prefer-destructuring"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-destructuring"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Disallow parseInt() in favor of binary, octal, and hexadecimal literals | ||
*/ | ||
"prefer-numeric-literals"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-numeric-literals"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require Reflect methods where applicable | ||
*/ | ||
"prefer-reflect"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-reflect"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require rest parameters instead of arguments | ||
*/ | ||
"prefer-rest-params"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-rest-params"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require spread operators instead of .apply() | ||
*/ | ||
"prefer-spread"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-spread"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require template literals instead of string concatenation | ||
*/ | ||
"prefer-template"?: number | ("off" | "warn" | "error") | any[]; | ||
"prefer-template"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require generator functions to contain yield | ||
*/ | ||
"require-yield"?: number | ("off" | "warn" | "error") | any[]; | ||
"require-yield"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce spacing between rest and spread operators and their expressions | ||
*/ | ||
"rest-spread-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"rest-spread-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Enforce sorted import declarations within modules | ||
*/ | ||
"sort-imports"?: number | ("off" | "warn" | "error") | any[]; | ||
"sort-imports"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require symbol descriptions | ||
*/ | ||
"symbol-description"?: number | ("off" | "warn" | "error") | any[]; | ||
"symbol-description"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow spacing around embedded expressions of template strings | ||
*/ | ||
"template-curly-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
"template-curly-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
/** | ||
* Require or disallow spacing around the * in yield* expressions | ||
*/ | ||
"yield-star-spacing"?: number | ("off" | "warn" | "error") | any[]; | ||
[k: string]: any; | ||
"yield-star-spacing"?: number | ("off" | "warn" | "error") | unknown[]; | ||
[k: string]: unknown; | ||
} | ||
@@ -1622,3 +1642,3 @@ /** | ||
"no-plusplus"?: Rule; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} |
@@ -62,3 +62,3 @@ /* tslint:disable */ | ||
*/ | ||
export type BundledDependency = string[]; | ||
export type BundledDependency = string[] | false; | ||
@@ -85,7 +85,3 @@ export interface CoreProperties { | ||
*/ | ||
homepage?: | ||
| { | ||
[k: string]: any; | ||
} | ||
| "."; | ||
homepage?: string; | ||
/** | ||
@@ -134,2 +130,6 @@ * The url to your project's issue tracker and / or the email address to which issues should be reported. These are helpful for people who encounter issues with your package. | ||
/** | ||
* The type field defines how .js and extensionless files should be treated within a particular package.json file’s package scope. Supported values: "commonjs" (default) or "module". | ||
*/ | ||
type?: string; | ||
/** | ||
* Set the types property to point to your bundled declaration file | ||
@@ -234,3 +234,3 @@ */ | ||
postrestart?: ScriptsRestart; | ||
[k: string]: string; | ||
[k: string]: string | undefined; | ||
}; | ||
@@ -249,2 +249,3 @@ /** | ||
engines?: { | ||
node?: string; | ||
[k: string]: string; | ||
@@ -270,2 +271,5 @@ }; | ||
publishConfig?: { | ||
access?: "public" | "restricted"; | ||
tag?: string; | ||
registry?: string; | ||
[k: string]: any; | ||
@@ -291,2 +295,15 @@ }; | ||
}; | ||
/** | ||
* To configure your yarn workspaces, please note private should be set to true to use yarn workspaces | ||
*/ | ||
workspaces?: { | ||
[k: string]: any; | ||
}; | ||
/** | ||
* Any property starting with _ is valid. | ||
* | ||
* This interface was referenced by `CoreProperties`'s JSON-Schema definition | ||
* via the `patternProperty` "^_". | ||
*/ | ||
[k: string]: any; | ||
} | ||
@@ -293,0 +310,0 @@ /** |
@@ -11,40 +11,326 @@ /* tslint:disable */ | ||
webhooks?: | ||
| string[] | ||
| PossiblySecretStringOrPossiblySecretStringTypeArrayUnique | ||
| boolean | ||
| { | ||
urls?: string | string[]; | ||
[k: string]: any; | ||
}; | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
urls?: string | SecretString | (string | SecretString)[]; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
urls?: string | SecretString | (string | SecretString)[]; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
urls?: string | SecretString | (string | SecretString)[]; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}[] | ||
]; | ||
slack?: | ||
| SlackRoom | ||
| boolean | ||
| { | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
rooms?: SlackRoom[]; | ||
on_pull_requests?: boolean; | ||
template?: string[]; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: NotificationFrequency; | ||
on_failure?: NotificationFrequency; | ||
}; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
rooms?: SlackRoom[]; | ||
on_pull_requests?: boolean; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: NotificationFrequency; | ||
on_failure?: NotificationFrequency; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
rooms?: SlackRoom[]; | ||
on_pull_requests?: boolean; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: NotificationFrequency; | ||
on_failure?: NotificationFrequency; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}[] | ||
]; | ||
email?: | ||
| string[] | ||
| false | ||
| PossiblySecretStringOrPossiblySecretStringTypeArrayUnique | ||
| boolean | ||
| { | ||
recipients?: string[]; | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
recipients?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
[k: string]: any; | ||
}; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
recipients?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
recipients?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}[] | ||
]; | ||
irc?: | ||
| string | ||
| string[] | ||
| PossiblySecretStringOrPossiblySecretStringTypeArrayUnique | ||
| boolean | ||
| { | ||
channels?: string[]; | ||
channel_key?: string; | ||
nick?: string; | ||
password?: string; | ||
template?: string[]; | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
channels?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
channel_key?: PossiblySecretString; | ||
nick?: NonEmptyString; | ||
password?: PossiblySecretString; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
skip_join?: boolean; | ||
use_notice?: boolean; | ||
[k: string]: any; | ||
}; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
channels?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
channel_key?: PossiblySecretString; | ||
nick?: NonEmptyString; | ||
password?: PossiblySecretString; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
skip_join?: boolean; | ||
use_notice?: boolean; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
channels?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
channel_key?: PossiblySecretString; | ||
nick?: NonEmptyString; | ||
password?: PossiblySecretString; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
skip_join?: boolean; | ||
use_notice?: boolean; | ||
}[] | ||
]; | ||
pushover?: | ||
| NonEmptyStringOrArrayOfNonEmptyStrings | ||
| boolean | ||
| { | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
api_key?: PossiblySecretString; | ||
users?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
api_key?: PossiblySecretString; | ||
users?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
api_key?: PossiblySecretString; | ||
users?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
template?: NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}[] | ||
]; | ||
campfire?: | ||
| PossiblySecretStringOrPossiblySecretStringTypeArrayUnique | ||
| boolean | ||
| { | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
rooms?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
template?: NonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
rooms?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
template?: NonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
rooms?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
template?: NonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}[] | ||
]; | ||
flowdock?: | ||
| PossiblySecretString | ||
| boolean | ||
| { | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
api_token?: NonEmptyString; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
api_token?: NonEmptyString; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
api_token?: NonEmptyString; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}[] | ||
]; | ||
hipchat?: | ||
| PossiblySecretStringOrPossiblySecretStringTypeArrayUnique | ||
| boolean | ||
| { | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
notify?: boolean; | ||
on_pull_requests?: boolean; | ||
rooms?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
format?: "html" | "text"; | ||
template?: NonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
} | ||
| [ | ||
{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
notify?: boolean; | ||
on_pull_requests?: boolean; | ||
rooms?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
format?: "html" | "text"; | ||
template?: NonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}, | ||
...{ | ||
disabled?: boolean; | ||
enabled?: boolean; | ||
notify?: boolean; | ||
on_pull_requests?: boolean; | ||
rooms?: PossiblySecretStringOrPossiblySecretStringTypeArrayUnique; | ||
format?: "html" | "text"; | ||
template?: NonEmptyStringOrArrayOfNonEmptyStrings; | ||
on_success?: "always" | "never" | "change"; | ||
on_failure?: "always" | "never" | "change"; | ||
on_start?: "always" | "never" | "change"; | ||
on_cancel?: "always" | "never" | "change"; | ||
on_error?: "always" | "never" | "change"; | ||
}[] | ||
]; | ||
}; | ||
@@ -66,5 +352,16 @@ matrix?: { | ||
stage?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
})[]; | ||
exclude?: (Job & { | ||
/** | ||
* The name of the build stage | ||
*/ | ||
stage?: string; | ||
[k: string]: unknown; | ||
})[]; | ||
allow_failures?: Job[]; | ||
/** | ||
* If some rows in the build matrix are allowed to fail, the build won’t be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true | ||
*/ | ||
fast_finish?: boolean; | ||
}; | ||
@@ -82,11 +379,17 @@ /** | ||
if?: string; | ||
})[]; | ||
[k: string]: any; | ||
} | ||
)[]; | ||
version?: string; | ||
/** | ||
* Import YAML config snippets that can be shared across repositories. | ||
*/ | ||
import?: Import[] | Import; | ||
[k: string]: unknown; | ||
}; | ||
export type StringOrStringArrayUnique = NonEmptyString | StringArrayUnique; | ||
export type NonEmptyString = string; | ||
export type StringArrayUnique = NonEmptyString[]; | ||
export type StringArrayUnique = [NonEmptyString, ...NonEmptyString[]]; | ||
export type StringOrNumberOrAcceptBothTypeAsArrayUnique = StringOrNumber | StringOrNumberAndBothAreTypeArrayUnique; | ||
export type StringOrNumber = NonEmptyString | number; | ||
export type StringOrNumberAndBothAreTypeArrayUnique = StringOrNumber[]; | ||
export type StringOrNumberAndBothAreTypeArrayUnique = [StringOrNumber, ...StringOrNumber[]]; | ||
export type XcodeVersions = | ||
@@ -104,3 +407,8 @@ | "xcode6.4" | ||
| "xcode10.1" | ||
| "xcode10.2"; | ||
| "xcode10.2" | ||
| "xcode10.3" | ||
| "xcode11" | ||
| "xcode11.1" | ||
| "xcode11.2" | ||
| "xcode11.3"; | ||
export type PossiblySecretString = | ||
@@ -111,3 +419,3 @@ | string | ||
}; | ||
export type Cache = "bundler" | "cargo" | "ccache" | "cocoapods" | "packages" | "pip" | "yarn" | "npm"; | ||
export type Cache = "apt" | "bundler" | "cargo" | "ccache" | "cocoapods" | "packages" | "pip" | "yarn" | "npm"; | ||
export type Service = | ||
@@ -125,5 +433,6 @@ | "cassandra" | ||
| "rabbitmq" | ||
| "redis-server" | ||
| "redis" | ||
| "rethinkdb" | ||
| "riak"; | ||
| "riak" | ||
| "xvfb"; | ||
export type EnvVars = EnvVar | EnvVar[]; | ||
@@ -153,5 +462,5 @@ export type EnvVar = | ||
condition?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} & ( | ||
@@ -161,10 +470,6 @@ | { | ||
script: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
| { | ||
provider: "npm"; | ||
email: PossiblySecretString; | ||
api_key: PossiblySecretString; | ||
tag?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -175,3 +480,3 @@ | { | ||
domain?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -189,3 +494,3 @@ | { | ||
overwrite?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -219,3 +524,3 @@ | { | ||
strategy?: "api" | "git"; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -243,13 +548,36 @@ | { | ||
endpoint?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
| { | ||
provider: string; | ||
[k: string]: any; | ||
}); | ||
[k: string]: unknown; | ||
} | ||
); | ||
export type PossiblySecretStringOrPossiblySecretStringTypeArrayUnique = | ||
| PossiblySecretString | ||
| [PossiblySecretString, ...PossiblySecretString[]]; | ||
/** | ||
* Your account name, token and optional channel | ||
*/ | ||
export type SlackRoom = string; | ||
export type SlackRoom = string | SecretString; | ||
export type NotRequiredNonEmptyStringOrArrayOfNonEmptyStrings = NonEmptyStringOrArrayOfNonEmptyStrings | null; | ||
export type NonEmptyStringOrArrayOfNonEmptyStrings = NonEmptyString | ArrayOfNonEmptyStrings; | ||
export type ArrayOfNonEmptyStrings = NonEmptyString[]; | ||
export type NotificationFrequency = "always" | "never" | "change"; | ||
export type Import = | ||
| { | ||
/** | ||
* The source to import build config from | ||
*/ | ||
source: string; | ||
/** | ||
* How to merge the imported config into the target config (defaults to deep_merge_append) | ||
*/ | ||
mode?: "merge" | "deep_merge" | "deep_merge_append" | "deep_merge_prepend"; | ||
/** | ||
* Specifies a condition for the import | ||
*/ | ||
if?: string; | ||
} | ||
| NonEmptyString; | ||
@@ -323,3 +651,3 @@ export interface Job { | ||
dartfmt?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}[]; | ||
@@ -332,5 +660,5 @@ ghc?: string[]; | ||
}; | ||
node_js?: string[] | string; | ||
node_js?: StringOrNumberOrAcceptBothTypeAsArrayUnique; | ||
compiler?: ("clang" | "gcc")[] | ("clang" | "gcc"); | ||
php?: string[] | string; | ||
php?: StringOrNumberOrAcceptBothTypeAsArrayUnique; | ||
go?: string[] | string; | ||
@@ -351,7 +679,7 @@ jdk?: string | string[]; | ||
podfile?: string; | ||
python?: string[] | string | number; | ||
python?: StringOrNumberOrAcceptBothTypeAsArrayUnique; | ||
elixir?: string[] | string; | ||
rust?: string[] | string | number; | ||
erlang?: string[] | string; | ||
julia?: string[] | string; | ||
julia?: StringOrNumberOrAcceptBothTypeAsArrayUnique; | ||
opt_release?: string[] | string; | ||
@@ -383,10 +711,19 @@ rvm?: StringOrNumberOrAcceptBothTypeAsArrayUnique; | ||
/** | ||
* The CPU Architecture to run the job on | ||
*/ | ||
arch?: | ||
| ("amd64" | "arm64" | "ppc64le" | "s390x") | ||
| ["amd64" | "arm64" | "ppc64le" | "s390x", ...("amd64" | "arm64" | "ppc64le" | "s390x")[]]; | ||
/** | ||
* The operating system to run the job on | ||
*/ | ||
os?: ("osx" | "linux" | "windows") | ("osx" | "linux" | "windows")[]; | ||
osx_image?: XcodeVersions | XcodeVersions[]; | ||
os?: ("osx" | "linux" | "windows") | ["osx" | "linux" | "windows", ...("osx" | "linux" | "windows")[]]; | ||
osx_image?: XcodeVersions | [XcodeVersions, ...XcodeVersions[]]; | ||
/** | ||
* The Ubuntu distribution to use | ||
*/ | ||
dist?: "precise" | "trusty" | "xenial"; | ||
dist?: "precise" | "trusty" | "xenial" | "bionic" | "focal"; | ||
/** | ||
* sudo is deprecated | ||
*/ | ||
sudo?: true | false | "" | "required" | "enabled"; | ||
@@ -413,3 +750,4 @@ addons?: { | ||
} | ||
| string)[]; | ||
| string | ||
)[]; | ||
/** | ||
@@ -437,3 +775,3 @@ * To install packages from the package whitelist before your custom build steps | ||
debug?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -467,3 +805,3 @@ /** | ||
access_key?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -477,3 +815,3 @@ | boolean; | ||
token?: SecretString; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -491,3 +829,3 @@ /** | ||
description?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -510,3 +848,3 @@ /** | ||
branch_pattern?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -536,9 +874,28 @@ /** | ||
| NonEmptyString | ||
| ( | ||
| NonEmptyString | ||
| { | ||
name: NonEmptyString; | ||
channel?: NonEmptyString; | ||
classic?: boolean; | ||
})[]; | ||
| [ | ||
( | ||
| NonEmptyString | ||
| { | ||
name: NonEmptyString; | ||
channel?: NonEmptyString; | ||
/** | ||
* 'classic:' is deprecated, use 'confinement:' | ||
*/ | ||
classic?: boolean; | ||
confinement?: "classic" | "devmode"; | ||
} | ||
), | ||
...( | ||
| NonEmptyString | ||
| { | ||
name: NonEmptyString; | ||
channel?: NonEmptyString; | ||
/** | ||
* 'classic:' is deprecated, use 'confinement:' | ||
*/ | ||
classic?: boolean; | ||
confinement?: "classic" | "devmode"; | ||
} | ||
)[] | ||
]; | ||
/** | ||
@@ -557,3 +914,3 @@ * BrowserStack addon | ||
only?: NonEmptyString; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -565,6 +922,7 @@ }; | ||
| ( | ||
| ("bundler" | "cargo" | "ccache" | "cocoapods" | "packages" | "pip" | "yarn" | "npm") | ||
| ("apt" | "bundler" | "cargo" | "ccache" | "cocoapods" | "packages" | "pip" | "yarn" | "npm") | ||
| { | ||
directories?: string[]; | ||
})[] | ||
} | ||
)[] | ||
| { | ||
@@ -576,2 +934,3 @@ directories?: string[]; | ||
timeout?: number; | ||
apt?: boolean; | ||
bundler?: boolean; | ||
@@ -601,2 +960,11 @@ cocoapods?: boolean; | ||
lfs_skip_smudge?: boolean; | ||
/** | ||
* In some work flows, like build stages, it might be beneficial to skip the automatic git clone step. | ||
*/ | ||
clone?: boolean; | ||
/** | ||
* Is a path to the existing file in the current repository with data you’d like to put into $GIT_DIR/info/sparse-checkout file of format described in Git documentation. | ||
*/ | ||
sparse_checkout?: string; | ||
autocrlf?: boolean | "input"; | ||
}; | ||
@@ -627,3 +995,3 @@ /** | ||
after_script?: Step; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -630,0 +998,0 @@ export interface SecretString { |
@@ -12,2 +12,3 @@ /* tslint:disable */ | ||
ExtendsDefinition & | ||
TsNodeDefinition & | ||
(FilesDefinition | ExcludeDefinition | IncludeDefinition | ReferencesDefinition); | ||
@@ -35,3 +36,3 @@ | ||
*/ | ||
declarationDir?: string; | ||
declarationDir?: string | null; | ||
/** | ||
@@ -82,16 +83,16 @@ * Show diagnostic information. | ||
/** | ||
* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015' or 'esnext'. | ||
* Specify module code generation: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES6', 'ES2015', 'ES2020' or 'ESNext'. Only 'AMD' and 'System' can be used in conjunction with --outFile. | ||
*/ | ||
module?: | ||
| ("commonjs" | "amd" | "umd" | "system" | "es6" | "es2015" | "esnext" | "none") | ||
| ("CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None") | ||
| { | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Specifies the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix). | ||
* Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix). | ||
*/ | ||
newLine?: | ||
| ("CRLF" | "LF") | ||
| ("crlf" | "lf") | ||
| { | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -200,8 +201,8 @@ /** | ||
/** | ||
* Specify ECMAScript target version. Permitted values are 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018' or 'esnext'. | ||
* Specify ECMAScript target version: 'ES3', 'ES5', 'ES6'/'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ESNext' | ||
*/ | ||
target?: | ||
| ("es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "esnext") | ||
| ("ES3" | "ES5" | "ES6" | "ES2015" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2020" | "ESNext") | ||
| { | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -224,5 +225,5 @@ /** | ||
moduleResolution?: | ||
| ("classic" | "node") | ||
| ("Classic" | "Node") | ||
| { | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
@@ -267,3 +268,3 @@ /** | ||
name?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}[]; | ||
@@ -311,39 +312,88 @@ /** | ||
/** | ||
* Specify library file to be included in the compilation. Requires TypeScript version 2.0 or later. | ||
* List of library files to be included in the compilation. Possible values are: 'ES5', 'ES6', 'ES2015', 'ES7', 'ES2016', 'ES2017', 'ES2018', 'ESNext', 'DOM', 'DOM.Iterable', 'WebWorker', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Include', 'ES2017.object', 'ES2017.Intl', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.TypedArrays', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ESNext.AsyncIterable', 'ESNext.Array', 'ESNext.Intl', 'ESNext.Symbol'. Requires TypeScript version 2.0 or later. | ||
*/ | ||
lib?: ( | ||
| "es5" | ||
| "es6" | ||
| "es2015" | ||
| "es7" | ||
| "es2016" | ||
| "es2017" | ||
| "es2018" | ||
| "esnext" | ||
| "dom" | ||
| "dom.iterable" | ||
| "webworker" | ||
| "scripthost" | ||
| "es2015.core" | ||
| "es2015.collection" | ||
| "es2015.generator" | ||
| "es2015.iterable" | ||
| "es2015.promise" | ||
| "es2015.proxy" | ||
| "es2015.reflect" | ||
| "es2015.symbol" | ||
| "es2015.symbol.wellknown" | ||
| "es2016.array.include" | ||
| "es2017.object" | ||
| "es2017.intl" | ||
| "es2017.sharedmemory" | ||
| "es2017.string" | ||
| "es2017.typedarrays" | ||
| "es2018.intl" | ||
| "es2018.promise" | ||
| "es2018.regexp" | ||
| "esnext.asynciterable" | ||
| "esnext.array" | ||
| "esnext.intl" | ||
| "esnext.symbol")[]; | ||
| ( | ||
| "ES5" | ||
| "ES6" | ||
| "ES7" | ||
| "ES2015" | ||
| "ES2015.Collection" | ||
| "ES2015.Core" | ||
| "ES2015.Generator" | ||
| "ES2015.Iterable" | ||
| "ES2015.Promise" | ||
| "ES2015.Proxy" | ||
| "ES2015.Reflect" | ||
| "ES2015.Symbol.WellKnown" | ||
| "ES2015.Symbol" | ||
| "ES2016" | ||
| "ES2016.Array.Include" | ||
| "ES2017" | ||
| "ES2017.Intl" | ||
| "ES2017.Object" | ||
| "ES2017.SharedMemory" | ||
| "ES2017.String" | ||
| "ES2017.TypedArrays" | ||
| "ES2018" | ||
| "ES2018.AsyncIterable" | ||
| "ES2018.Intl" | ||
| "ES2018.Promise" | ||
| "ES2018.Regexp" | ||
| "ES2019" | ||
| "ES2019.Array" | ||
| "ES2019.Object" | ||
| "ES2019.String" | ||
| "ES2019.Symbol" | ||
| "ES2020" | ||
| "ES2020.BigInt" | ||
| "ES2020.Promise" | ||
| "ES2020.String" | ||
| "ES2020.Symbol.WellKnown" | ||
| "ESNext" | ||
| "ESNext.Array" | ||
| "ESNext.AsyncIterable" | ||
| "ESNext.BigInt" | ||
| "ESNext.Intl" | ||
| "ESNext.Symbol" | ||
| "DOM" | ||
| "DOM.Iterable" | ||
| "ScriptHost" | ||
| "WebWorker" | ||
| "WebWorker.ImportScripts" | ||
) | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
)[]; | ||
/** | ||
@@ -362,2 +412,6 @@ * Enable strict null checks. Requires TypeScript version 2.0 or later. | ||
/** | ||
* Specify emit/checking behavior for imports that are only used for types | ||
*/ | ||
importsNotUsedAsValues?: "remove" | "preserve" | "error"; | ||
/** | ||
* Specify the JSX factory function to use when targeting react JSX emit, e.g. 'React.createElement' or 'h'. Requires TypeScript version 2.1 or later. | ||
@@ -399,2 +453,6 @@ */ | ||
/** | ||
* Allow accessing UMD globals from modules. | ||
*/ | ||
allowUmdGlobalAccess?: boolean; | ||
/** | ||
* Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later. | ||
@@ -404,2 +462,6 @@ */ | ||
/** | ||
* Emit ECMAScript standard class fields. Requires TypeScript version 3.7 or later. | ||
*/ | ||
useDefineForClassFields?: boolean; | ||
/** | ||
* Generates a sourcemap for each corresponding '.d.ts' file. Requires TypeScript version 2.9 or later. | ||
@@ -412,5 +474,9 @@ */ | ||
resolveJsonModule?: boolean; | ||
[k: string]: any; | ||
/** | ||
* Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it. | ||
*/ | ||
assumeChangesOnlyAffectDirectDependencies?: boolean; | ||
[k: string]: unknown; | ||
}; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -422,3 +488,3 @@ export interface CompileOnSaveDefinition { | ||
compileOnSave?: boolean; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -442,5 +508,5 @@ export interface TypeAcquisitionDefinition { | ||
exclude?: string[]; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -452,4 +518,521 @@ export interface ExtendsDefinition { | ||
extends?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
export interface TsNodeDefinition { | ||
/** | ||
* ts-node options. See also: https://github.com/TypeStrong/ts-node#configuration-options | ||
* | ||
* ts-node offers TypeScript execution and REPL for node.js, with source map support. | ||
*/ | ||
"ts-node"?: { | ||
/** | ||
* Specify a custom TypeScript compiler. | ||
*/ | ||
compiler?: string; | ||
/** | ||
* Use TypeScript's compiler host API. | ||
*/ | ||
compilerHost?: boolean; | ||
/** | ||
* JSON object to merge with compiler options. | ||
*/ | ||
compilerOptions?: { | ||
/** | ||
* The character set of the input files. | ||
*/ | ||
charset?: string; | ||
/** | ||
* Enables building for project references. | ||
*/ | ||
composite?: boolean; | ||
/** | ||
* Generates corresponding d.ts files. | ||
*/ | ||
declaration?: boolean; | ||
/** | ||
* Specify output directory for generated declaration files. Requires TypeScript version 2.0 or later. | ||
*/ | ||
declarationDir?: string | null; | ||
/** | ||
* Show diagnostic information. | ||
*/ | ||
diagnostics?: boolean; | ||
/** | ||
* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. | ||
*/ | ||
emitBOM?: boolean; | ||
/** | ||
* Only emit '.d.ts' declaration files. | ||
*/ | ||
emitDeclarationOnly?: boolean; | ||
/** | ||
* Enable incremental compilation. | ||
*/ | ||
incremental?: boolean; | ||
/** | ||
* Specify file to store incremental compilation information. | ||
*/ | ||
tsBuildInfoFile?: string; | ||
/** | ||
* Emit a single file with source maps instead of having a separate file. | ||
*/ | ||
inlineSourceMap?: boolean; | ||
/** | ||
* Emit the source alongside the sourcemaps within a single file; requires --inlineSourceMap to be set. | ||
*/ | ||
inlineSources?: boolean; | ||
/** | ||
* Specify JSX code generation: 'preserve', 'react', or 'react-native'. | ||
*/ | ||
jsx?: "preserve" | "react" | "react-native"; | ||
/** | ||
* Specifies the object invoked for createElement and __spread when targeting 'react' JSX emit. | ||
*/ | ||
reactNamespace?: string; | ||
/** | ||
* Print names of files part of the compilation. | ||
*/ | ||
listFiles?: boolean; | ||
/** | ||
* Specifies the location where debugger should locate map files instead of generated locations | ||
*/ | ||
mapRoot?: string; | ||
/** | ||
* Specify module code generation: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES6', 'ES2015', 'ES2020' or 'ESNext'. Only 'AMD' and 'System' can be used in conjunction with --outFile. | ||
*/ | ||
module?: | ||
| ("CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None") | ||
| { | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix). | ||
*/ | ||
newLine?: | ||
| ("crlf" | "lf") | ||
| { | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Do not emit output. | ||
*/ | ||
noEmit?: boolean; | ||
/** | ||
* Do not generate custom helper functions like __extends in compiled output. | ||
*/ | ||
noEmitHelpers?: boolean; | ||
/** | ||
* Do not emit outputs if any type checking errors were reported. | ||
*/ | ||
noEmitOnError?: boolean; | ||
/** | ||
* Warn on expressions and declarations with an implied 'any' type. | ||
*/ | ||
noImplicitAny?: boolean; | ||
/** | ||
* Raise error on 'this' expressions with an implied any type. | ||
*/ | ||
noImplicitThis?: boolean; | ||
/** | ||
* Report errors on unused locals. Requires TypeScript version 2.0 or later. | ||
*/ | ||
noUnusedLocals?: boolean; | ||
/** | ||
* Report errors on unused parameters. Requires TypeScript version 2.0 or later. | ||
*/ | ||
noUnusedParameters?: boolean; | ||
/** | ||
* Do not include the default library file (lib.d.ts). | ||
*/ | ||
noLib?: boolean; | ||
/** | ||
* Do not add triple-slash references or module import targets to the list of compiled files. | ||
*/ | ||
noResolve?: boolean; | ||
/** | ||
* Disable strict checking of generic signatures in function types. | ||
*/ | ||
noStrictGenericChecks?: boolean; | ||
skipDefaultLibCheck?: boolean; | ||
/** | ||
* Skip type checking of declaration files. Requires TypeScript version 2.0 or later. | ||
*/ | ||
skipLibCheck?: boolean; | ||
/** | ||
* Concatenate and emit output to single file. | ||
*/ | ||
outFile?: string; | ||
/** | ||
* Redirect output structure to the directory. | ||
*/ | ||
outDir?: string; | ||
/** | ||
* Do not erase const enum declarations in generated code. | ||
*/ | ||
preserveConstEnums?: boolean; | ||
/** | ||
* Do not resolve symlinks to their real path; treat a symlinked file like a real one. | ||
*/ | ||
preserveSymlinks?: boolean; | ||
/** | ||
* Keep outdated console output in watch mode instead of clearing the screen. | ||
*/ | ||
preserveWatchOutput?: boolean; | ||
/** | ||
* Stylize errors and messages using color and context (experimental). | ||
*/ | ||
pretty?: boolean; | ||
/** | ||
* Do not emit comments to output. | ||
*/ | ||
removeComments?: boolean; | ||
/** | ||
* Specifies the root directory of input files. Use to control the output directory structure with --outDir. | ||
*/ | ||
rootDir?: string; | ||
/** | ||
* Unconditionally emit imports for unresolved files. | ||
*/ | ||
isolatedModules?: boolean; | ||
/** | ||
* Generates corresponding '.map' file. | ||
*/ | ||
sourceMap?: boolean; | ||
/** | ||
* Specifies the location where debugger should locate TypeScript files instead of source locations. | ||
*/ | ||
sourceRoot?: string; | ||
/** | ||
* Suppress excess property checks for object literals. | ||
*/ | ||
suppressExcessPropertyErrors?: boolean; | ||
/** | ||
* Suppress noImplicitAny errors for indexing objects lacking index signatures. | ||
*/ | ||
suppressImplicitAnyIndexErrors?: boolean; | ||
/** | ||
* Do not emit declarations for code that has an '@internal' annotation. | ||
*/ | ||
stripInternal?: boolean; | ||
/** | ||
* Specify ECMAScript target version: 'ES3', 'ES5', 'ES6'/'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ESNext' | ||
*/ | ||
target?: | ||
| ("ES3" | "ES5" | "ES6" | "ES2015" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2020" | "ESNext") | ||
| { | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Watch input files. | ||
*/ | ||
watch?: boolean; | ||
/** | ||
* Enables experimental support for ES7 decorators. | ||
*/ | ||
experimentalDecorators?: boolean; | ||
/** | ||
* Emit design-type metadata for decorated declarations in source. | ||
*/ | ||
emitDecoratorMetadata?: boolean; | ||
/** | ||
* Specifies module resolution strategy: 'node' (Node) or 'classic' (TypeScript pre 1.6) . | ||
*/ | ||
moduleResolution?: | ||
| ("Classic" | "Node") | ||
| { | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Do not report errors on unused labels. | ||
*/ | ||
allowUnusedLabels?: boolean; | ||
/** | ||
* Report error when not all code paths in function return a value. | ||
*/ | ||
noImplicitReturns?: boolean; | ||
/** | ||
* Report errors for fallthrough cases in switch statement. | ||
*/ | ||
noFallthroughCasesInSwitch?: boolean; | ||
/** | ||
* Do not report errors on unreachable code. | ||
*/ | ||
allowUnreachableCode?: boolean; | ||
/** | ||
* Disallow inconsistently-cased references to the same file. | ||
*/ | ||
forceConsistentCasingInFileNames?: boolean; | ||
/** | ||
* Base directory to resolve non-relative module names. | ||
*/ | ||
baseUrl?: string; | ||
/** | ||
* Specify path mapping to be computed relative to baseUrl option. | ||
*/ | ||
paths?: { | ||
[k: string]: string[]; | ||
}; | ||
/** | ||
* List of TypeScript language server plugins to load. Requires TypeScript version 2.3 or later. | ||
*/ | ||
plugins?: { | ||
/** | ||
* Plugin name. | ||
*/ | ||
name?: string; | ||
[k: string]: unknown; | ||
}[]; | ||
/** | ||
* Specify list of root directories to be used when resolving modules. | ||
*/ | ||
rootDirs?: string[]; | ||
/** | ||
* Specify list of directories for type definition files to be included. Requires TypeScript version 2.0 or later. | ||
*/ | ||
typeRoots?: string[]; | ||
/** | ||
* Type declaration files to be included in compilation. Requires TypeScript version 2.0 or later. | ||
*/ | ||
types?: string[]; | ||
/** | ||
* Enable tracing of the name resolution process. | ||
*/ | ||
traceResolution?: boolean; | ||
/** | ||
* Allow javascript files to be compiled. | ||
*/ | ||
allowJs?: boolean; | ||
/** | ||
* Do not truncate error messages. | ||
*/ | ||
noErrorTruncation?: boolean; | ||
/** | ||
* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. | ||
*/ | ||
allowSyntheticDefaultImports?: boolean; | ||
/** | ||
* Do not emit 'use strict' directives in module output. | ||
*/ | ||
noImplicitUseStrict?: boolean; | ||
/** | ||
* Enable to list all emitted files. Requires TypeScript version 2.0 or later. | ||
*/ | ||
listEmittedFiles?: boolean; | ||
/** | ||
* Disable size limit for JavaScript project. Requires TypeScript version 2.0 or later. | ||
*/ | ||
disableSizeLimit?: boolean; | ||
/** | ||
* List of library files to be included in the compilation. Possible values are: 'ES5', 'ES6', 'ES2015', 'ES7', 'ES2016', 'ES2017', 'ES2018', 'ESNext', 'DOM', 'DOM.Iterable', 'WebWorker', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Include', 'ES2017.object', 'ES2017.Intl', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.TypedArrays', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ESNext.AsyncIterable', 'ESNext.Array', 'ESNext.Intl', 'ESNext.Symbol'. Requires TypeScript version 2.0 or later. | ||
*/ | ||
lib?: ( | ||
| ( | ||
| "ES5" | ||
| "ES6" | ||
| "ES7" | ||
| "ES2015" | ||
| "ES2015.Collection" | ||
| "ES2015.Core" | ||
| "ES2015.Generator" | ||
| "ES2015.Iterable" | ||
| "ES2015.Promise" | ||
| "ES2015.Proxy" | ||
| "ES2015.Reflect" | ||
| "ES2015.Symbol.WellKnown" | ||
| "ES2015.Symbol" | ||
| "ES2016" | ||
| "ES2016.Array.Include" | ||
| "ES2017" | ||
| "ES2017.Intl" | ||
| "ES2017.Object" | ||
| "ES2017.SharedMemory" | ||
| "ES2017.String" | ||
| "ES2017.TypedArrays" | ||
| "ES2018" | ||
| "ES2018.AsyncIterable" | ||
| "ES2018.Intl" | ||
| "ES2018.Promise" | ||
| "ES2018.Regexp" | ||
| "ES2019" | ||
| "ES2019.Array" | ||
| "ES2019.Object" | ||
| "ES2019.String" | ||
| "ES2019.Symbol" | ||
| "ES2020" | ||
| "ES2020.BigInt" | ||
| "ES2020.Promise" | ||
| "ES2020.String" | ||
| "ES2020.Symbol.WellKnown" | ||
| "ESNext" | ||
| "ESNext.Array" | ||
| "ESNext.AsyncIterable" | ||
| "ESNext.BigInt" | ||
| "ESNext.Intl" | ||
| "ESNext.Symbol" | ||
| "DOM" | ||
| "DOM.Iterable" | ||
| "ScriptHost" | ||
| "WebWorker" | ||
| "WebWorker.ImportScripts" | ||
) | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
| { | ||
[k: string]: unknown; | ||
} | ||
)[]; | ||
/** | ||
* Enable strict null checks. Requires TypeScript version 2.0 or later. | ||
*/ | ||
strictNullChecks?: boolean; | ||
/** | ||
* The maximum dependency depth to search under node_modules and load JavaScript files. Only applicable with --allowJs. | ||
*/ | ||
maxNodeModuleJsDepth?: number; | ||
/** | ||
* Import emit helpers (e.g. '__extends', '__rest', etc..) from tslib. Requires TypeScript version 2.1 or later. | ||
*/ | ||
importHelpers?: boolean; | ||
/** | ||
* Specify emit/checking behavior for imports that are only used for types | ||
*/ | ||
importsNotUsedAsValues?: "remove" | "preserve" | "error"; | ||
/** | ||
* Specify the JSX factory function to use when targeting react JSX emit, e.g. 'React.createElement' or 'h'. Requires TypeScript version 2.1 or later. | ||
*/ | ||
jsxFactory?: string; | ||
/** | ||
* Parse in strict mode and emit 'use strict' for each source file. Requires TypeScript version 2.1 or later. | ||
*/ | ||
alwaysStrict?: boolean; | ||
/** | ||
* Enable all strict type checking options. Requires TypeScript version 2.3 or later. | ||
*/ | ||
strict?: boolean; | ||
/** | ||
* Enable stricter checking of of the `bind`, `call`, and `apply` methods on functions. | ||
*/ | ||
strictBindCallApply?: boolean; | ||
/** | ||
* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. Requires TypeScript version 2.3 or later. | ||
*/ | ||
downlevelIteration?: boolean; | ||
/** | ||
* Report errors in .js files. Requires TypeScript version 2.3 or later. | ||
*/ | ||
checkJs?: boolean; | ||
/** | ||
* Disable bivariant parameter checking for function types. Requires TypeScript version 2.6 or later. | ||
*/ | ||
strictFunctionTypes?: boolean; | ||
/** | ||
* Ensure non-undefined class properties are initialized in the constructor. Requires TypeScript version 2.7 or later. | ||
*/ | ||
strictPropertyInitialization?: boolean; | ||
/** | ||
* Emit '__importStar' and '__importDefault' helpers for runtime babel ecosystem compatibility and enable '--allowSyntheticDefaultImports' for typesystem compatibility. Requires TypeScript version 2.7 or later. | ||
*/ | ||
esModuleInterop?: boolean; | ||
/** | ||
* Allow accessing UMD globals from modules. | ||
*/ | ||
allowUmdGlobalAccess?: boolean; | ||
/** | ||
* Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later. | ||
*/ | ||
keyofStringsOnly?: boolean; | ||
/** | ||
* Emit ECMAScript standard class fields. Requires TypeScript version 3.7 or later. | ||
*/ | ||
useDefineForClassFields?: boolean; | ||
/** | ||
* Generates a sourcemap for each corresponding '.d.ts' file. Requires TypeScript version 2.9 or later. | ||
*/ | ||
declarationMap?: boolean; | ||
/** | ||
* Include modules imported with '.json' extension. Requires TypeScript version 2.9 or later. | ||
*/ | ||
resolveJsonModule?: boolean; | ||
/** | ||
* Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it. | ||
*/ | ||
assumeChangesOnlyAffectDirectDependencies?: boolean; | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* Emit output files into `.ts-node` directory. | ||
*/ | ||
emit?: boolean; | ||
/** | ||
* Load files from `tsconfig.json` on startup. | ||
*/ | ||
files?: boolean; | ||
/** | ||
* Override the path patterns to skip compilation. | ||
*/ | ||
ignore?: string[]; | ||
/** | ||
* Ignore TypeScript warnings by diagnostic code. | ||
*/ | ||
ignoreDiagnostics?: (string | number)[]; | ||
/** | ||
* Logs TypeScript errors to stderr instead of throwing exceptions. | ||
*/ | ||
logError?: boolean; | ||
/** | ||
* Re-order file extensions so that TypeScript imports are preferred. | ||
*/ | ||
preferTsExts?: boolean; | ||
/** | ||
* Use pretty diagnostic formatter. | ||
*/ | ||
pretty?: boolean; | ||
/** | ||
* Scope compiler to files within `cwd`. | ||
*/ | ||
scope?: boolean; | ||
/** | ||
* Skip ignore check. | ||
*/ | ||
skipIgnore?: boolean; | ||
/** | ||
* Use TypeScript's faster `transpileModule`. | ||
*/ | ||
transpileOnly?: boolean; | ||
/** | ||
* **DEPRECATED** Specify type-check is enabled (e.g. `transpileOnly == false`). | ||
*/ | ||
typeCheck?: boolean; | ||
[k: string]: unknown; | ||
}; | ||
[k: string]: unknown; | ||
} | ||
export interface FilesDefinition { | ||
@@ -460,3 +1043,3 @@ /** | ||
files?: string[]; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -468,3 +1051,3 @@ export interface ExcludeDefinition { | ||
exclude?: string[]; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -476,3 +1059,3 @@ export interface IncludeDefinition { | ||
include?: string[]; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} | ||
@@ -488,5 +1071,5 @@ export interface ReferencesDefinition { | ||
path?: string; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
}[]; | ||
[k: string]: any; | ||
[k: string]: unknown; | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
281080
28
8406