invoke yarn fix:js
to adopt the updated eslint rules. No other changes are included.
This commit is contained in:
@@ -17,7 +17,7 @@ const buildConfig = {
|
||||
}*/
|
||||
],
|
||||
helpLink: 'https://about.mattermost.com/default-desktop-app-documentation/',
|
||||
enableServerManagement: true
|
||||
enableServerManagement: true,
|
||||
};
|
||||
|
||||
module.exports = buildConfig;
|
||||
|
@@ -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;
|
||||
|
@@ -2,8 +2,8 @@ const defaultPreferences = require('./defaultPreferences');
|
||||
|
||||
const pastDefaultPreferences = {
|
||||
0: {
|
||||
url: ''
|
||||
}
|
||||
url: '',
|
||||
},
|
||||
};
|
||||
|
||||
pastDefaultPreferences[`${defaultPreferences.version}`] = defaultPreferences;
|
||||
|
@@ -11,7 +11,7 @@ function upgradeV0toV1(configV0) {
|
||||
}
|
||||
config.teams.push({
|
||||
name: 'Primary team',
|
||||
url: configV0.url
|
||||
url: configV0.url,
|
||||
});
|
||||
return config;
|
||||
}
|
||||
|
@@ -13,5 +13,5 @@ module.exports = {
|
||||
|
||||
// consider Windows 7 and later.
|
||||
return (this.major <= 6 && this.minor <= 3);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
@@ -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;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user