Enable ESLint no-useless-escape (#23311)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-13 15:12:14 +01:00
1 parent 4da5f77d92
commit db2c58d47a
12 files changed
+11 -12

No files matched your search

@@ -27,7 +27,7 @@ const makeMapStateToProps = () => {
};
const getFirstSentence = str => {
const arr = str.split(/(([\.\?!]+\s)|[.。?!\n•])/);
const arr = str.split(/(([.?!]+\s)|[.。?!\n•])/);
return arr[0];
};