Skip to content

Commit ab5baa4

Browse files
committed
chore: resolve prefer-const lint error
1 parent bd4ecfd commit ab5baa4

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

eslint_temporary_suppressions.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ export default [
8080
},
8181

8282
/* Per-file rule suppressions */
83-
{
84-
files: ['packages/cache/src/fetchwithcache.test.ts'],
85-
rules: {
86-
'prefer-const': 'off',
87-
},
88-
},
8983
{
9084
files: ['packages/functions/dev/main.ts'],
9185
rules: {

packages/cache/src/fetchwithcache.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const host = 'host.netlify'
1010
const url = 'https://example.netlify/.netlify/cache'
1111
const token = 'mock-token'
1212

13-
let originalCaches = globalThis.caches
13+
const originalCaches = globalThis.caches
1414

1515
beforeEach(async () => {
1616
globalThis.caches = new NetlifyCacheStorage({

0 commit comments

Comments
 (0)