Skip to content

Commit 26b2b41

Browse files
chore(deps): update devdependency @nuxt/eslint-config to v0.5.0 (#915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent e278ca1 commit 26b2b41

File tree

5 files changed

+63
-68
lines changed

5 files changed

+63
-68
lines changed

examples/module/src/module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { addPlugin, createResolver, defineNuxtModule } from '@nuxt/kit'
22

33
// Module options TypeScript interface definition
4+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
45
export interface ModuleOptions {}
56

67
export default defineNuxtModule<ModuleOptions>({

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@cucumber/cucumber": "10.8.0",
6969
"@jest/globals": "29.7.0",
7070
"@nuxt/devtools": "1.0.8",
71-
"@nuxt/eslint-config": "0.3.13",
71+
"@nuxt/eslint-config": "0.5.0",
7272
"@nuxt/module-builder": "0.8.2",
7373
"@playwright/test": "1.46.0",
7474
"@testing-library/vue": "8.1.0",
@@ -87,6 +87,7 @@
8787
"playwright-core": "1.46.0",
8888
"rollup": "4.20.0",
8989
"semver": "7.6.3",
90+
"typescript": "^5.5.4",
9091
"unbuild": "latest",
9192
"unimport": "3.10.0",
9293
"vite": "5.4.0",

pnpm-lock.yaml

Lines changed: 58 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/module/plugins/mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const createMockPlugin = (ctx: MockPluginContext) => createUnplugin(() =>
4343
sourceType: 'module', ecmaVersion: 'latest', ranges: true,
4444
})
4545
}
46-
catch (e) {
46+
catch {
4747
return
4848
}
4949

src/runtime-utils/mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @typescript-eslint/ban-types */
1+
/* eslint-disable @typescript-eslint/no-empty-object-type */
22
import { defineEventHandler } from 'h3'
33
import type { App, EventHandler, HTTPMethod } from 'h3'
44
import type {

0 commit comments

Comments
 (0)