1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

Tools: Added eslint rule arrow-parens

This commit is contained in:
Laurent Cozic
2020-05-20 17:16:43 +01:00
parent c34f762507
commit 0b6f5581f0
166 changed files with 446 additions and 445 deletions

View File

@@ -18,7 +18,7 @@ shared.init = function(comp) {
};
shared.advancedSettingsButton_click = (comp) => {
comp.setState(state => {
comp.setState((state) => {
return { showAdvancedSettings: !state.showAdvancedSettings };
});
};
@@ -79,7 +79,7 @@ shared.checkNextcloudApp = async function(comp, settings) {
};
shared.updateSettingValue = function(comp, key, value) {
comp.setState(state => {
comp.setState((state) => {
const settings = Object.assign({}, state.settings);
const changedSettingKeys = state.changedSettingKeys.slice();
settings[key] = Setting.formatValue(key, value);