You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Tools: Implement "prefer-object-spread" eslint rule
This commit is contained in:
@@ -48,13 +48,11 @@ export class MarkupLanguageUtils {
|
||||
pluginOptions[n] = { enabled: subValues[n] };
|
||||
}
|
||||
|
||||
options = Object.assign({
|
||||
ResourceModel: Resource,
|
||||
options = { ResourceModel: Resource,
|
||||
pluginOptions: pluginOptions,
|
||||
tempDir: Setting.value('tempDir'),
|
||||
fsDriver: shim.fsDriver(),
|
||||
isSafeMode: Setting.value('isSafeMode'),
|
||||
}, options);
|
||||
isSafeMode: Setting.value('isSafeMode'), ...options };
|
||||
|
||||
return new MarkupToHtml(options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user