invoke yarn fix:js to adopt the updated eslint rules. No other changes are included.

This commit is contained in:
Jesse Hallam
2018-02-21 14:20:33 -05:00
parent 38bcaaae5e
commit 620c5484e3
49 changed files with 251 additions and 251 deletions

View File

@@ -17,7 +17,7 @@ const buildConfig = {
}*/
],
helpLink: 'https://about.mattermost.com/default-desktop-app-documentation/',
enableServerManagement: true
enableServerManagement: true,
};
module.exports = buildConfig;

View File

@@ -11,11 +11,11 @@ const defaultPreferences = {
notifications: {
flashWindow: 0,
bounceIcon: false,
bounceIconType: 'informational'
bounceIconType: 'informational',
},
showUnreadBadge: true,
useSpellChecker: true,
spellCheckerLocale: 'en-US'
spellCheckerLocale: 'en-US',
};
module.exports = defaultPreferences;

View File

@@ -2,8 +2,8 @@ const defaultPreferences = require('./defaultPreferences');
const pastDefaultPreferences = {
0: {
url: ''
}
url: '',
},
};
pastDefaultPreferences[`${defaultPreferences.version}`] = defaultPreferences;

View File

@@ -11,7 +11,7 @@ function upgradeV0toV1(configV0) {
}
config.teams.push({
name: 'Primary team',
url: configV0.url
url: configV0.url,
});
return config;
}

View File

@@ -13,5 +13,5 @@ module.exports = {
// consider Windows 7 and later.
return (this.major <= 6 && this.minor <= 3);
}
},
};

View File

@@ -14,7 +14,7 @@ const upgradePreferences = require('./config/upgradePreferences');
function loadDefault(spellCheckerLocale) {
const config = JSON.parse(JSON.stringify(defaultPreferences));
return Object.assign({}, config, {
spellCheckerLocale: spellCheckerLocale || defaultPreferences.spellCheckerLocale || 'en-US'
spellCheckerLocale: spellCheckerLocale || defaultPreferences.spellCheckerLocale || 'en-US',
});
}
@@ -73,5 +73,5 @@ module.exports = {
newTeams.push(...JSON.parse(JSON.stringify(teams)));
}
return newTeams;
}
},
};