From 14d2364fc69e0222133115c55a36286986006098 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Fri, 15 Oct 2021 09:48:06 +0200 Subject: chore: update eslint setup (#2074) --- src/helpers/array-helpers.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/helpers/array-helpers.ts') diff --git a/src/helpers/array-helpers.ts b/src/helpers/array-helpers.ts index ae5d8d99f..3f8806176 100644 --- a/src/helpers/array-helpers.ts +++ b/src/helpers/array-helpers.ts @@ -1,4 +1,5 @@ -export const shuffleArray = (arr: any[]) => arr - .map((a) => [Math.random(), a]) - .sort((a, b) => a[0] - b[0]) - .map((a) => a[1]); +export const shuffleArray = (arr: any[]) => + arr + .map(a => [Math.random(), a]) + .sort((a, b) => a[0] - b[0]) + .map(a => a[1]); -- cgit v1.2.3-54-g00ecf