68 lines
1.2 KiB
JSON
68 lines
1.2 KiB
JSON
{
|
|
"defaultSeverity": "error",
|
|
"rules": {
|
|
"file-header": [
|
|
true,
|
|
"[\n\r]+ \\* Copyright \\(c\\) \\d{4}(-\\d{4})? .*[\n\r]+"
|
|
],
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"curly": true,
|
|
"eofline": true,
|
|
"forin": true,
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"max-line-length": [
|
|
true,
|
|
180
|
|
],
|
|
"no-consecutive-blank-lines": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-var-keyword": true,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"radix": true,
|
|
"semicolon": [
|
|
true,
|
|
"always",
|
|
"ignore-interfaces"
|
|
],
|
|
"trailing-comma": [
|
|
false
|
|
],
|
|
"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": false,
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|