1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +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

@@ -39,7 +39,7 @@ interface ActionButtonProps {
}
const ActionButton = (
props: ActionButtonProps
props: ActionButtonProps,
) => {
return (
<CustomButton
@@ -154,7 +154,7 @@ export const SearchPanel = (props: SearchPanelProps) => {
// Creates a TextInut with the given parameters
const createInput = (
placeholder: string, value: string, onChange: OnChangeCallback, autoFocus: boolean
placeholder: string, value: string, onChange: OnChangeCallback, autoFocus: boolean,
) => {
return (
<TextInput
@@ -229,7 +229,7 @@ export const SearchPanel = (props: SearchPanelProps) => {
},
// Autofocus
true
true,
);
const replaceTextInput = createInput(
@@ -242,7 +242,7 @@ export const SearchPanel = (props: SearchPanelProps) => {
},
// Don't autofocus
false
false,
);
const labeledSearchInput = (