From 9b4297d4d2cf99c62efd1909f340f360c480dd80 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Wed, 8 Feb 2017 14:16:58 +0000 Subject: [PATCH] Added tslint and null checks --- rc-tree/tsconfig.json | 2 +- rc-tree/tslint.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 rc-tree/tslint.json diff --git a/rc-tree/tsconfig.json b/rc-tree/tsconfig.json index 4e24118cf2..3af3996eaf 100644 --- a/rc-tree/tsconfig.json +++ b/rc-tree/tsconfig.json @@ -9,7 +9,7 @@ "noImplicitThis": true, "noUnusedParameters": true, "noUnusedLocals": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/rc-tree/tslint.json b/rc-tree/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/rc-tree/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" }