You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Revert "Tools: Added eslint rule arrow-parens"
This reverts commit 0b6f5581f0.
It causes too many conflicts with pull requests.
This commit is contained in:
@@ -245,7 +245,7 @@ function surroundKeywords(keywords, text, prefix, suffix) {
|
||||
if (!keywords.length) return text;
|
||||
|
||||
let regexString = keywords
|
||||
.map((k) => {
|
||||
.map(k => {
|
||||
if (k.type === 'regex') {
|
||||
return stringUtilsCommon.replaceRegexDiacritics(k.valueRegex);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user