1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Tools: Add prefer-arrow-callbacks to ESlint rules (#7810)

This commit is contained in:
pedr
2023-02-20 12:02:29 -03:00
committed by GitHub
parent ca575162f7
commit f2995dd196
206 changed files with 511 additions and 510 deletions

View File

@@ -14,7 +14,7 @@ function parseUri(str) {
while (i--) uri[o.key[i]] = m[i] || '';
uri[o.q.name] = {};
uri[o.key[12]].replace(o.q.parser, function($0, $1, $2) {
uri[o.key[12]].replace(o.q.parser, ($0, $1, $2) => {
if ($1) uri[o.q.name][$1] = $2;
});