aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-07-30 21:52:22 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-07-30 21:52:22 +0900
commit33a16b85e412abbf54f22d21feb97e876e5dd784 (patch)
tree2abc4e5d011f2bb155ad8a5ae220508efce4a402 /.eslintrc
parent3db11041c5b75c30b584893937876b6471e67cf2 (diff)
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.
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc1
1 files changed, 1 insertions, 0 deletions
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",