From 33a16b85e412abbf54f22d21feb97e876e5dd784 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 30 Jul 2019 21:52:22 +0900 Subject: Handle errors on loading settings The error on loading settings can occurs when the settings lose backward compatibility on version up, or the saved date is broken. The error is caught, then the script done fallback to default settings and notify it to user. --- .eslintrc | 1 + 1 file changed, 1 insertion(+) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index 7b35bc4..9667b89 100644 --- a/.eslintrc +++ b/.eslintrc @@ -33,6 +33,7 @@ "function-paren-newline": "off", "id-length": "off", "indent": ["error", 2], + "init-declarations": "off", "jsx-quotes": ["error", "prefer-single"], "max-classes-per-file": "off", "max-lines": "off", -- cgit v1.2.3