[Glitch] Enable ESLint no-useless-escape

Port db2c58d47a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Nick Schonning authored and Claire committed 2023-02-18 16:02:12 +01:00
1 parent 587f6b3b06
commit 7e64eef73b
6 files changed
+6 -6

No files matched your search

@@ -25,7 +25,7 @@ const buildHashtagRE = () => {
'))', 'iu',
);
} catch {
return /(?:^|[^\/\)\w])#(\w*[a-zA-Z·]\w*)/i;
return /(?:^|[^/)\w])#(\w*[a-zA-Z·]\w*)/i;
}
};