vscode-cosmosdbgraph/tslint.json

105 строки
2.8 KiB
JSON

{
"extends": "tslint-microsoft-contrib",
"rules": {
"await-promise": [
true,
"Thenable"
],
"no-backbone-get-set-outside-model": false,
"radix": false,
"strict-boolean-expressions": [
false, // todo
"allow-string",
"allow-undefined-union",
"allow-mix",
"allow-null-union"
],
"completed-docs": [
false,
"classes"
],
"import-name": false,
"max-line-length": [
false,
140
],
"missing-jsdoc": false,
"no-relative-imports": false,
"no-void-expression": [
false, // todo
"ignore-arrow-function-shorthand"
],
"variable-name": [
false, // todo
"ban-keywords",
"check-format",
"allow-leading-underscore"
],
"linebreak-style": false,
"newline-before-return": false,
"no-single-line-block-comment": false,
"quotemark": [
false,
"single"
],
"no-unexternalized-strings": [
false, // todo
{
"signatures": [
"localize",
"nls.localize"
],
"keyIndex": 0,
"messageIndex": 1
}
],
"no-implicit-dependencies": [
true,
[
"vscode"
]
],
"switch-final-break": false,
"prefer-object-spread": false,
"no-return-await": false,
"no-parameter-reassignment": false,
"no-object-literal-type-assertion": false,
"function-name": [
false, // todo
{
"static-method-regex": "^[a-z][\\w_]+$"
}
],
"typedef": [
true,
"call-signature",
// "arrow-call-signature",
"parameter",
// "arrow-parameter",
"property-declaration",
// todo "variable-declaration",
"member-variable-declaration"
],
"prefer-template": [
false, // todo
"allow-single-concat"
],
"no-use-before-declare": false,
"newline-per-chained-call": false,
"no-dynamic-delete": false,
"trailing-comma": false,
"no-console": false,
"no-parameter-properties": false, // todo
"no-multiline-string": false, // todo
"interface-name": false, // todo
"no-unsafe-any": false, // todo
"no-increment-decrement": false, // todo
"promise-function-async": false // todo
},
"linterOptions": {
"exclude": [
"src/mongo/grammar/**" // generated files
]
}
}