File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,10 @@ export default defineNuxtModule<ModuleOptions>({
1414 // Default configuration options of the Nuxt module
1515 defaults : { } ,
1616 setup ( _moduleOptions , _nuxt ) {
17- // Ignore because of `import.meta.url`
18- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
19- // @ts -ignore
17+ // @ts -expect-error - import.meta.url is okay here, but TS is complaining
2018 const resolver : Resolver = createResolver ( import . meta. url ) ;
2119
2220 if ( resolver ) {
23- // Ignore because `.resolve` is a valid method of `Resolver`, but because of ts-ignore above, `Resolver` is recognized as any
24- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
2521 addPlugin ( resolver . resolve ( 'runtime/plugins/sentry.client.js' ) ) ;
2622 }
2723 } ,
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ import { init } from '../../client';
33
44export default defineNuxtPlugin ( nuxtApp => {
55 const config = useRuntimeConfig ( ) ;
6-
7- // eslint-disable-next-line no-console
8- console . log ( 'Plugin initialized' ) ;
9-
106 const sentryConfig = config . public . sentry || { } ;
117
128 init ( {
You can’t perform that action at this time.
0 commit comments