1
0
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:
Laurent Cozic
2023-08-22 11:58:53 +01:00
parent 26a967e53c
commit 2e9f93ad9a
135 changed files with 352 additions and 352 deletions

View File

@ -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('_');