vscode-tslint/tslint-tests/tslint.json

91 строка
2.1 KiB
JSON
Исходник Постоянная ссылка Обычный вид История

2016-11-27 01:04:48 +03:00
{
// "linterOptions": { "exclude": [ "./**/arrow-parens.ts" ]},
2016-11-27 01:04:48 +03:00
"rules": {
"no-consecutive-blank-lines": true,
2016-11-27 02:42:44 +03:00
"array-type": [
true,
"array-simple"
],
2016-11-27 01:04:48 +03:00
"arrow-parens": true,
"no-var-keyword": true,
"no-unused-variable": [
true,
{
"ignore-pattern": "^_"
}
],
"ordered-imports": [
true,
{
"import-sources-order": "lowercase-last",
"named-imports-order": "lowercase-first"
}
],
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
2016-11-27 01:04:48 +03:00
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"no-eval": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"double"
],
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
},
"jsRules": {
"triple-equals": [
true,
"allow-null-check"
]
2017-04-12 14:17:32 +03:00
},
"defaultSeverity": "warning"
2016-11-27 01:04:48 +03:00
}