diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-13 09:12:14 -0500 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2023-02-18 16:02:12 +0100 |
commit | 7e64eef73b62fcb1537181e66bcd3e5e25fcc665 (patch) | |
tree | 3cc08273c3f3d3c8519bef1663c0967e05e6ae1f /app/javascript/flavours/glitch/features/compose/containers | |
parent | 587f6b3b066360da37066063d659194d43fd7a59 (diff) |
[Glitch] Enable ESLint no-useless-escape
Port db2c58d47ae0db8490a30cd3846f30e615c382b5 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/containers')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/containers/warning_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/warning_container.js b/app/javascript/flavours/glitch/features/compose/containers/warning_container.js index 9402601f8..5b48c45e4 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/warning_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/warning_container.js @@ -25,7 +25,7 @@ const buildHashtagRE = () => { '))', 'iu', ); } catch { - return /(?:^|[^\/\)\w])#(\w*[a-zA-Z·]\w*)/i; + return /(?:^|[^/)\w])#(\w*[a-zA-Z·]\w*)/i; } }; |