vscode-php-intellisense/tslint.json

86 lines
2.5 KiB
JSON
Raw Normal View History

2016-08-25 15:55:00 +00:00
{
2018-11-11 17:32:17 +00:00
"extends": ["tslint:recommended", "tslint-config-prettier"],
2016-08-25 15:55:00 +00:00
"rules": {
2018-11-11 17:32:17 +00:00
"adjacent-overload-signatures": true,
"array-type": [true, "array"],
"arrow-return-shorthand": [true, "multiline"],
"await-promise": [true, "Thenable"],
"ban": [
true,
{
"name": ["*", "forEach"]
},
["describe", "only"],
["it", "only"]
],
"callable-types": true,
2016-08-25 15:55:00 +00:00
"class-name": true,
"comment-format": [true, "check-space"],
2018-11-11 17:32:17 +00:00
"curly": true,
"deprecation": {
"severity": "warning"
},
"interface-name": [false],
"interface-over-type-literal": true,
"jsdoc-format": true,
"max-classes-per-file": false,
"member-access": [true, "check-accessor"],
"member-ordering": [false],
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-bitwise": false,
"no-boolean-literal-compare": true,
"no-conditional-assignment": true,
"no-console": [false],
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-empty-interface": false,
2016-08-25 15:55:00 +00:00
"no-eval": true,
2018-11-11 17:32:17 +00:00
"no-floating-promises": [true],
"no-for-in-array": true,
"no-inferrable-types": [true],
"no-inferred-empty-object-type": true,
2016-08-25 15:55:00 +00:00
"no-internal-module": true,
2018-11-11 17:32:17 +00:00
"no-invalid-template-strings": true,
"no-magic-numbers": false,
"no-misused-new": true,
"no-namespace": [false, "allow-declarations"],
"no-reference-import": true,
"no-shadowed-variable": false,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-unbound-method": true,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-qualifier": true,
"no-unnecessary-type-assertion": false,
"no-unsafe-any": false,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-use-before-declare": true,
2016-08-25 15:55:00 +00:00
"no-var-keyword": true,
2018-11-11 17:32:17 +00:00
"no-var-requires": false,
"no-void-expression": false,
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"prefer-const": [
2016-08-25 15:55:00 +00:00
true,
{
2018-11-11 17:32:17 +00:00
"destructuring": "all"
2016-08-25 15:55:00 +00:00
}
],
2018-11-11 17:32:17 +00:00
"prefer-for-of": true,
"prefer-template": [false, "allow-single-concat"],
"return-undefined": true,
"triple-equals": [true],
"typedef": [true, "call-signature"],
"unified-signatures": true,
"variable-name": [true, "ban-keywords"]
2016-08-25 15:55:00 +00:00
}
}