diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:15:21 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:15:21 -0400 |
| commit | 2da9893da33f05fd9122b6052c67eabcd570b0d5 (patch) | |
| tree | fb9fcd9ea13aae2f6c29b2e8ae20a6472c7fc9c0 /tslint.json | |
| parent | 7828d7fd7a4ccfc7ba41765131ac82bccd2e43bb (diff) | |
Format
Diffstat (limited to 'tslint.json')
| -rw-r--r-- | tslint.json | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tslint.json b/tslint.json index 59d7bdaa8..d0e6447bb 100644 --- a/tslint.json +++ b/tslint.json @@ -2,7 +2,8 @@ "rules": { "array-type": [true, "array-simple"], "arrow-return-shorthand": true, - "ban": [true, + "ban": [ + true, ["fit"], ["fdescribe"], ["xit"], @@ -12,7 +13,8 @@ ["fitFakeAsync"], ["xitFakeAsync"] ], - "ban-types": [true, + "ban-types": [ + true, ["Object", "Use {} instead."], ["String", "Use 'string' instead."], ["Number", "Use 'number' instead."], @@ -41,7 +43,11 @@ "no-unused-variable": true, "no-var-keyword": true, "object-literal-shorthand": true, - "only-arrow-functions": [true, "allow-declarations", "allow-named-functions"], + "only-arrow-functions": [ + true, + "allow-declarations", + "allow-named-functions" + ], "prefer-const": true, "quotemark": [true, "double"], "radix": true, |
