1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-18 23:07:45 +02:00

Revert "Tools: Added eslint rule arrow-parens"

This reverts commit 0b6f5581f0.

It causes too many conflicts with pull requests.
This commit is contained in:
Laurent Cozic
2020-05-21 09:14:33 +01:00
parent b83eee751f
commit a96734f5be
166 changed files with 444 additions and 445 deletions

View File

@ -39,7 +39,7 @@ class PluginManager {
const p = this.plugins_[name];
if (p.instance) return p.instance;
p.instance = new p.Class();
p.instance.dispatch = (action) => this.dispatch_(action);
p.instance.dispatch = action => this.dispatch_(action);
return p.instance;
}
@ -73,7 +73,7 @@ class PluginManager {
dialogProps_(name) {
return {
dispatch: (action) => this.dispatch_(action),
dispatch: action => this.dispatch_(action),
plugin: this.pluginInstance_(name),
};
}