2018-10-05 07:04:19 -05:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"tslint:recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"curly": false,
|
|
|
|
"eofline": false,
|
|
|
|
"align": [
|
|
|
|
true,
|
|
|
|
"parameters"
|
|
|
|
],
|
|
|
|
"class-name": true,
|
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
"spaces"
|
|
|
|
],
|
|
|
|
"max-line-length": [
|
|
|
|
true,
|
|
|
|
650
|
|
|
|
],
|
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-var-keyword": true,
|
2018-11-16 02:38:38 -06:00
|
|
|
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
|
2018-10-05 07:04:19 -05:00
|
|
|
"no-empty": true,
|
|
|
|
"no-unused-expression": true,
|
|
|
|
"no-use-before-declare": true,
|
|
|
|
"no-var-requires": true,
|
2018-12-04 00:46:38 -06:00
|
|
|
"only-arrow-functions": true,
|
2018-10-05 07:04:19 -05:00
|
|
|
"no-console": [
|
|
|
|
false,
|
|
|
|
"log",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"one-line": [
|
|
|
|
true,
|
|
|
|
"check-else",
|
|
|
|
"check-whitespace",
|
|
|
|
"check-open-brace"
|
|
|
|
],
|
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single",
|
|
|
|
"avoid-escape"
|
|
|
|
],
|
|
|
|
"semicolon": [
|
|
|
|
true,
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"typedef-whitespace": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"call-signature": "nospace",
|
|
|
|
"index-signature": "nospace",
|
|
|
|
"parameter": "nospace",
|
|
|
|
"property-declaration": "nospace",
|
|
|
|
"variable-declaration": "nospace"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
2018-11-16 02:38:38 -06:00
|
|
|
"check-type",
|
|
|
|
"check-module"
|
2018-10-26 06:39:51 -05:00
|
|
|
],
|
|
|
|
"completed-docs": [true, "functions", "methods"]
|
2018-10-05 07:04:19 -05:00
|
|
|
}
|
|
|
|
}
|