From 6eea513c4b58d53fefd1d015b89250b9858fca9b Mon Sep 17 00:00:00 2001 From: C-3PO Date: Fri, 16 Nov 2018 00:24:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20Updat?= =?UTF-8?q?e=20tslint=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tslint.json | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/tslint.json b/src/tslint.json index 6a41014..92558a1 100644 --- a/src/tslint.json +++ b/src/tslint.json @@ -1,16 +1,19 @@ { - "defaultSeverity": "error", - "extends": [ - "tslint:recommended" - ], - "jsRules": {}, - "rules": { - "comment-format": false, - "indent": [true, "spaces", 2], - "max-line-length": false, - "no-bitwise": false, - "no-console": false, - "quotemark": [true, "single"] + "defaultSeverity": "error", + "extends": [ + "tslint:recommended" + ], + "jsRules": {}, + "rules": { + "comment-format": false, + "indent": [true, "spaces", 2], + "max-line-length": false, + "no-bitwise": false, + "no-console": false, + "no-invalid-this": [true, "check-function-in-method"], + "object-literal-sort-keys": [true, "match-declaration-order"], + "only-arrow-functions": false, + "quotemark": [true, "single"] }, - "rulesDirectory": [] + "rulesDirectory": [] }