2018-10-05 07:04:19 -05:00
|
|
|
{
|
2021-01-29 01:40:30 -06:00
|
|
|
"extends": ["tslint:latest", "tslint-config-prettier"],
|
2018-12-08 09:47:09 -06:00
|
|
|
"linterOptions": {
|
2021-01-29 00:11:05 -06:00
|
|
|
"exclude": ["**/*.json"]
|
2018-12-08 09:47:09 -06:00
|
|
|
},
|
2018-10-05 07:04:19 -05:00
|
|
|
"rules": {
|
2019-03-19 05:52:39 -05:00
|
|
|
"curly": true,
|
|
|
|
"eofline": true,
|
2021-01-29 00:11:05 -06:00
|
|
|
"align": [true, "parameters"],
|
2018-10-05 07:04:19 -05:00
|
|
|
"class-name": true,
|
2021-01-29 00:11:05 -06:00
|
|
|
"indent": [true, "spaces"],
|
|
|
|
"max-line-length": [true, 650],
|
2020-11-12 06:42:06 -06:00
|
|
|
"no-shadowed-variable": false,
|
2018-10-05 07:04:19 -05:00
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-var-keyword": true,
|
2021-01-29 00:11:05 -06:00
|
|
|
"variable-name": [
|
|
|
|
true,
|
|
|
|
"ban-keywords",
|
|
|
|
"check-format",
|
|
|
|
"allow-leading-underscore",
|
|
|
|
"allow-pascal-case"
|
|
|
|
],
|
2018-10-05 07:04:19 -05:00
|
|
|
"no-empty": true,
|
|
|
|
"no-unused-expression": true,
|
2021-01-29 01:40:30 -06:00
|
|
|
"no-implicit-dependencies": [true, "dev", "optional"],
|
|
|
|
"no-object-literal-type-assertion": false,
|
2018-10-05 07:04:19 -05:00
|
|
|
"no-var-requires": true,
|
2018-12-04 00:46:38 -06:00
|
|
|
"only-arrow-functions": true,
|
2018-12-19 00:16:03 -06:00
|
|
|
"object-literal-sort-keys": false,
|
2021-01-29 00:11:05 -06:00
|
|
|
"no-console": [true, "log", "error"],
|
|
|
|
"one-line": [true, "check-else", "check-whitespace", "check-open-brace"],
|
|
|
|
"quotemark": [true, "single", "avoid-escape"],
|
2021-01-29 01:40:30 -06:00
|
|
|
"semicolon": [true, "always", "ignore-bound-class-methods"],
|
2018-10-05 07:04:19 -05:00
|
|
|
"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
|
|
|
}
|
2019-03-19 05:52:39 -05:00
|
|
|
}
|