Replace tslint by eslint

This commit is contained in:
Jonas Lochmann
2022-01-17 01:00:00 +01:00
parent b43059f8e2
commit f028b99bbc
24 changed files with 2498 additions and 311 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/*
* server component for the TimeLimit App
* Copyright (C) 2019 Jonas Lochmann
* Copyright (C) 2019 - 2022 Jonas Lochmann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -28,7 +28,7 @@ const randomWord = () => wordlist[Math.floor(Math.random() * (wordlist.length -
export const randomWords = (numberOfWords: number) => (
range(numberOfWords)
.map((item) => randomWord())
.map(() => randomWord())
.join(' ')
)