chore: add eslint rules for spacing (#464)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Haytham A. Salama
2023-07-30 16:56:01 +03:00
committed by GitHub
parent 1bc055935e
commit 5221294f78
10 changed files with 55 additions and 31 deletions

View File

@@ -123,7 +123,7 @@ export default defineComponent({
return typeof label === 'function' ? label(props.query) : label
})
function highlight (text: string, { indices, value }: { indices: number[][], value:string }): string {
function highlight (text: string, { indices, value }: { indices: number[][], value: string }): string {
if (text === value) {
return ''
}