Migrate util, types, state, sticker-creator to ESLint
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export function cleanSearchTerm(searchTerm: string) {
|
||||
export function cleanSearchTerm(searchTerm: string): string {
|
||||
const lowercase = searchTerm.toLowerCase();
|
||||
const withoutSpecialCharacters = lowercase.replace(
|
||||
/([!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])/g,
|
||||
|
Reference in New Issue
Block a user