2018-07-01 15:23:21 -04:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"array-type": [true, "array-simple"],
|
|
|
|
"arrow-return-shorthand": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"ban": [
|
|
|
|
true,
|
|
|
|
["fit"],
|
|
|
|
["fdescribe"],
|
|
|
|
["xit"],
|
|
|
|
["xdescribe"],
|
|
|
|
["fitAsync"],
|
|
|
|
["xitAsync"],
|
|
|
|
["fitFakeAsync"],
|
|
|
|
["xitFakeAsync"]
|
2018-07-01 15:23:21 -04:00
|
|
|
],
|
2018-07-06 11:20:35 -04:00
|
|
|
"ban-types": [
|
|
|
|
true,
|
2018-07-01 15:23:21 -04:00
|
|
|
["Object", "Use {} instead."],
|
|
|
|
["String", "Use 'string' instead."],
|
|
|
|
["Number", "Use 'number' instead."],
|
|
|
|
["Boolean", "Use 'boolean' instead."]
|
|
|
|
],
|
|
|
|
"class-name": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"curly": true,
|
2018-07-01 15:23:21 -04:00
|
|
|
"interface-name": [true, "never-prefix"],
|
|
|
|
"jsdoc-format": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"forin": false,
|
2018-07-01 15:23:21 -04:00
|
|
|
"label-position": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"max-line-length": [true, 80],
|
2018-07-01 15:23:21 -04:00
|
|
|
"new-parens": true,
|
|
|
|
"no-angle-bracket-type-assertion": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"no-any": true,
|
2018-07-01 15:23:21 -04:00
|
|
|
"no-construct": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"no-consecutive-blank-lines": true,
|
2018-07-01 15:23:21 -04:00
|
|
|
"no-debugger": true,
|
|
|
|
"no-default-export": true,
|
|
|
|
"no-inferrable-types": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
//"no-namespace": [true, "allow-declarations"],
|
2018-07-01 15:23:21 -04:00
|
|
|
"no-reference": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"no-require-imports": true,
|
2018-07-01 15:23:21 -04:00
|
|
|
"no-string-throw": true,
|
|
|
|
"no-unused-expression": true,
|
|
|
|
"no-var-keyword": true,
|
|
|
|
"object-literal-shorthand": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"only-arrow-functions": [
|
|
|
|
true,
|
|
|
|
"allow-declarations",
|
|
|
|
"allow-named-functions"
|
|
|
|
],
|
2018-07-01 15:23:21 -04:00
|
|
|
"prefer-const": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"quotemark": [true, "double"],
|
2018-07-01 15:23:21 -04:00
|
|
|
"radix": true,
|
2018-07-06 11:20:35 -04:00
|
|
|
"restrict-plus-operands": true,
|
2018-07-01 15:23:21 -04:00
|
|
|
"semicolon": [true, "always", "ignore-bound-class-methods"],
|
2018-07-06 11:20:35 -04:00
|
|
|
"switch-default": true,
|
2018-07-01 15:23:21 -04:00
|
|
|
"triple-equals": [true, "allow-null-check"],
|
|
|
|
"use-isnan": true,
|
|
|
|
"variable-name": [
|
|
|
|
true,
|
|
|
|
"check-format",
|
|
|
|
"ban-keywords",
|
|
|
|
"allow-leading-underscore",
|
|
|
|
"allow-trailing-underscore"
|
|
|
|
]
|
2018-08-25 15:42:49 -04:00
|
|
|
},
|
2018-08-25 19:34:41 -04:00
|
|
|
"extends": ["tslint-no-circular-imports"]
|
2018-07-01 15:23:21 -04:00
|
|
|
}
|