From fd038ea4b1a506c5ce5df19e877fbe4ec2103162 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 22 Dec 2019 22:17:20 -0500 Subject: [PATCH] [O] Optimize tslint rules --- tsconfig.json | 3 ++- tslint.json | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index f49fe0e..1000b04 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -27,7 +27,8 @@ ], // Custom - "resolveJsonModule": true + "resolveJsonModule": true, + "strictPropertyInitialization": false }, "include": [ "src/**/*.ts", diff --git a/tslint.json b/tslint.json index 712fb18..3b43f8f 100644 --- a/tslint.json +++ b/tslint.json @@ -1,15 +1,13 @@ { "defaultSeverity": "warning", - "extends": [ - "tslint:recommended" - ], "linterOptions": { "exclude": [ "node_modules/**" ] }, "rules": { - "indent": [true, "spaces", 2], + "indent": [true, "spaces", 4], + "curly": false, "interface-name": false, "no-consecutive-blank-lines": false, "object-literal-sort-keys": false,