From 433985f5082c340563c100fe919b10c484315c92 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2020 10:33:51 +0100 Subject: [PATCH] Update dependency eslint-config-standard to v16 (#735) * Update dependency eslint-config-standard to v16 * disable useless message * replace regex Signed-off-by: Tilman Vatteroth Co-authored-by: Renovate Bot Co-authored-by: Tilman Vatteroth --- package.json | 5 +++-- src/service-worker.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 650bac7ac..4022d1c6b 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "emoji-picker-element": "1.2.1", "emojibase-data": "5.1.1", "eslint-config-react-app": "6.0.0", - "eslint-config-standard": "15.0.0", + "eslint-config-standard": "16.0.1", "eslint-plugin-flowtype": "5.2.0", "eslint-plugin-import": "2.22.1", "eslint-plugin-jsx-a11y": "6.4.1", @@ -126,7 +126,8 @@ ] }, "rules": { - "no-use-before-define": "off" + "no-use-before-define": "off", + "default-param-last": "off" }, "plugins": [ "@typescript-eslint" diff --git a/src/service-worker.ts b/src/service-worker.ts index f86011523..c7ba3fe17 100644 --- a/src/service-worker.ts +++ b/src/service-worker.ts @@ -27,7 +27,7 @@ precacheAndRoute(self.__WB_MANIFEST) // Set up App Shell-style routing, so that all navigation requests // are fulfilled with your index.html shell. Learn more at // https://developers.google.com/web/fundamentals/architecture/app-shell -const fileExtensionRegexp = new RegExp('/[^/?]+\\.[^/]+$') +const fileExtensionRegexp = /[^/?]+\\.[^/]+$/ registerRoute( // Return false to exempt requests from being fulfilled by index.html. ({ request, url }: { request: Request; url: URL }) => { diff --git a/yarn.lock b/yarn.lock index 72182ad88..1991f9a31 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6003,10 +6003,10 @@ eslint-config-react-app@6.0.0, eslint-config-react-app@^6.0.0: dependencies: confusing-browser-globals "^1.0.10" -eslint-config-standard@15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-15.0.0.tgz#459f823b47ac0541b0a22b1d0a161a9da543f687" - integrity sha512-MZ8KRhUJLtMbjQo9PsEzFG29vqbQJfLoLBHrTaAaFMtDx9PIm1GZgyUanOLgf1xOE1aWrtZZSbxBYCy8dJCCBg== +eslint-config-standard@16.0.1: + version "16.0.1" + resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-16.0.1.tgz#9a385eea27f96b7918cb53f07e01e9d10cc56401" + integrity sha512-WBBiQQZdaPyL+4sPkGWhWrHCDtvJoU195B9j8yXE9uFQnX34gMXI5CeBRm95gx3PMEZPM5OpwET10hH4F4SxCA== eslint-import-resolver-node@^0.3.4: version "0.3.4"