mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-20 06:12:54 +08:00
Removing the tslint space-before-function-paren rule as it caused hundreds of errors with Travis CI.
38 lines
1006 B
JSON
38 lines
1006 B
JSON
{
|
|
"rules": {
|
|
"class-name": true,
|
|
"comment-format": [ true, "check-space" ],
|
|
"indent": [ true, "spaces" ],
|
|
"no-duplicate-variable": true,
|
|
"no-eval": true,
|
|
"no-internal-module": false,
|
|
"no-trailing-whitespace": false,
|
|
"no-var-keyword": true,
|
|
"one-line": [ true, "check-whitespace" ],
|
|
"quotemark": [ true, "double" ],
|
|
"semicolon": true,
|
|
"triple-equals": [ true, "allow-null-check" ],
|
|
"align": [ true, "parameters", "statements" ],
|
|
"jsdoc-format": true,
|
|
"no-consecutive-blank-lines": true,
|
|
"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"
|
|
]
|
|
}
|
|
} |