vscode-apimanagement/tslint.json

79 строки
2.1 KiB
JSON

{
"extends": "tslint-microsoft-contrib",
"rules": {
"file-header": [
false,
{
"match": "Copyright \\d{4}",
"allow-single-line-comments": true,
"default": "Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License. See License.txt in the project root for license information.",
"enforce-trailing-newline": true
}
],
"await-promise": [
true,
"Thenable"
],
"no-increment-decrement": false,
"strict-boolean-expressions": [
true,
"allow-string",
"allow-undefined-union",
"allow-null-union",
"allow-mix"
],
"completed-docs": [
false,
"classes"
],
"function-name": [
true,
{
"static-method-regex": "^[a-z][a-zA-Z_\\d]+$"
}
],
"import-name": false,
"max-line-length": [
false,
140
],
"missing-jsdoc": false,
"no-backbone-get-set-outside-model": false,
"no-multiline-string": false,
"no-single-line-block-comment": false,
"no-parameter-properties": false,
"no-relative-imports": false,
"no-require-imports": false,
"no-void-expression": [
false,
"ignore-arrow-function-shorthand"
],
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"member-variable-declaration"
],
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords"
],
"linebreak-style": false,
"newline-before-return": false,
"quotemark": [
false,
"single"
],
"radix": false,
"no-use-before-declare": false
},
"linterOptions": {
"exclude": [
"src/test/**",
"**/*.d.ts"
]
}
}