You've already forked joplin
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:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user