From 23131394c73fe47c481e60f5d54b11de902f9906 Mon Sep 17 00:00:00 2001 From: Sebastiaan Viaene Date: Tue, 4 Jun 2019 10:03:13 +0200 Subject: [PATCH] fix: restore tslint format --- tslint.json | 65 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 11 deletions(-) diff --git a/tslint.json b/tslint.json index eb490af..93dc625 100644 --- a/tslint.json +++ b/tslint.json @@ -1,21 +1,37 @@ { "rules": { "class-name": true, - "comment-format": [true, "check-space"], + "comment-format": [ + true, + "check-space" + ], "curly": true, "eofline": true, - "indent": [true, "spaces"], + "indent": [ + true, + "spaces" + ], "interface-name": [true, "always-prefix"], "jsdoc-format": true, "label-position": true, - "member-access": ["check-accessor"], + "member-access": [ + "check-accessor" + ], "no-angle-bracket-type-assertion": false, "no-any": false, "no-arg": true, "no-bitwise": false, "no-conditional-assignment": true, "no-consecutive-blank-lines": false, - "no-console": [true, "log", "debug", "info", "time", "timeEnd", "trace"], + "no-console": [ + true, + "log", + "debug", + "info", + "time", + "timeEnd", + "trace" + ], "no-construct": true, "no-constructor-vars": false, "no-debugger": true, @@ -28,7 +44,10 @@ "no-reference": false, "no-require-imports": false, "no-shadowed-variable": true, - "quotemark": [true, "single"], + "quotemark": [ + true, + "single" + ], "prefer-const": true, "no-string-literal": false, "no-switch-case-fall-through": true, @@ -37,11 +56,24 @@ "no-var-keyword": true, "no-var-requires": false, "object-literal-sort-keys": false, - "one-line": [true, "check-open-brace", "check-catch", "check-else", "check-finally", "check-whitespace"], + "one-line": [ + true, + "check-open-brace", + "check-catch", + "check-else", + "check-finally", + "check-whitespace" + ], "radix": true, - "semicolon": [true, "always"], + "semicolon": [ + true, + "always" + ], "switch-default": true, - "triple-equals": [true, "allow-null-check"], + "triple-equals": [ + true, + "allow-null-check" + ], "typedef-whitespace": [ true, { @@ -60,8 +92,19 @@ } ], "use-isnan": true, - "variable-name": [true, "check-format", "ban-keywords"], - "whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"], + "variable-name": [ + true, + "check-format", + "ban-keywords" + ], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-separator", + "check-type" + ], "newline-before-return": true } -} +} \ No newline at end of file