From a99cbc3faa86e049551ce4ca294256d17a899bc3 Mon Sep 17 00:00:00 2001 From: IFreshman <23047987+IFreshman@users.noreply.github.com> Date: Fri, 21 Feb 2025 21:00:51 +0100 Subject: [PATCH] Update 0.module.md @typescript-eslint/ban-types is deprecated and to keep that up to date --- docs/content/1.packages/0.module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/1.packages/0.module.md b/docs/content/1.packages/0.module.md index ccd75955..4612720e 100644 --- a/docs/content/1.packages/0.module.md +++ b/docs/content/1.packages/0.module.md @@ -194,10 +194,10 @@ export default withNuxt( // ...Prepend some flat configs in front ) // Override some rules in a specific config, based on their name - .override('nuxt/typescript', { + .override('nuxt/typescript/rules', { rules: { // ...Override rules, for example: - '@typescript-eslint/ban-types': 'off' + "valid-typeof": "error" } }) // ...you can chain more operations as needed