Skip to content

Commit 4cb8c38

Browse files
committed
lint fix
1 parent 092a2af commit 4cb8c38

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

packages/sveltekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"magic-string": "^0.30.0"
3636
},
3737
"devDependencies": {
38-
"@sveltejs/kit": "^1.5.0",
38+
"@sveltejs/kit": "^1.11.0",
3939
"vite": "4.0.0",
4040
"typescript": "^4.9.3"
4141
},

packages/sveltekit/src/client/handleError.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import { captureException } from '@sentry/svelte';
22
import { addExceptionMechanism } from '@sentry/utils';
3+
// For now disable the import/no-unresolved rule, because we don't have a way to
4+
// tell eslint that we are only importing types from the @sveltejs/kit package without
5+
// adding a custom resolver, which will take too much time.
6+
// eslint-disable-next-line import/no-unresolved
37
import type { HandleClientError, NavigationEvent } from '@sveltejs/kit';
48

59
/**

packages/sveltekit/test/client/handleError.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import { Scope } from '@sentry/svelte';
2+
3+
// For now disable the import/no-unresolved rule, because we don't have a way to
4+
// tell eslint that we are only importing types from the @sveltejs/kit package without
5+
// adding a custom resolver, which will take too much time.
6+
// eslint-disable-next-line import/no-unresolved
27
import type { HandleClientError, NavigationEvent } from '@sveltejs/kit';
38

49
import { wrapHandleError } from '../../src/client/handleError';

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4205,7 +4205,7 @@
42054205
dependencies:
42064206
highlight.js "^9.15.6"
42074207

4208-
"@sveltejs/kit@^1.5.0":
4208+
"@sveltejs/kit@^1.11.0":
42094209
version "1.11.0"
42104210
resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.11.0.tgz#23f233c351e5956356ba6f3206e40637c5f5dbda"
42114211
integrity sha512-PwViZcMoLgEU/jhLoSyjf5hSrHS67wvSm0ifBo4prP9irpGa5HuPOZeVDTL5tPDSBoKxtdYi1zlGdoiJfO86jA==

0 commit comments

Comments
 (0)