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.
This commit is contained in:
parent
3db11041c5
commit
33a16b85e4
4 changed files with 26 additions and 6 deletions
|
@ -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",
|
||||
|
|
Reference in a new issue