You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Tools: Enable eslint rule comma-dangle: always-multiline for functions
This commit is contained in:
@ -42,14 +42,14 @@ const createShallowObjectEqualSelector = createSelectorCreator(
|
||||
if (prev[n] !== next[n]) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
// This selector ensures that for the given command names, the same toolbar
|
||||
// button array is returned if the underlying toolbar buttons have not changed.
|
||||
const selectObjectByCommands = createCachedSelector(
|
||||
(state: any) => state.array,
|
||||
(array: any[]) => array
|
||||
(array: any[]) => array,
|
||||
)({
|
||||
keySelector: (_state: any, commandNames: string[]) => {
|
||||
return commandNames.join('_');
|
||||
|
Reference in New Issue
Block a user