File tree 2 files changed +1
-9
lines changed
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>({
14
14
// Default configuration options of the Nuxt module
15
15
defaults : { } ,
16
16
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
20
18
const resolver : Resolver = createResolver ( import . meta. url ) ;
21
19
22
20
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
25
21
addPlugin ( resolver . resolve ( 'runtime/plugins/sentry.client.js' ) ) ;
26
22
}
27
23
} ,
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ import { init } from '../../client';
3
3
4
4
export default defineNuxtPlugin ( nuxtApp => {
5
5
const config = useRuntimeConfig ( ) ;
6
-
7
- // eslint-disable-next-line no-console
8
- console . log ( 'Plugin initialized' ) ;
9
-
10
6
const sentryConfig = config . public . sentry || { } ;
11
7
12
8
init ( {
You can’t perform that action at this time.
0 commit comments