From 6d74a256f477caf6ad574b5d77e9aca0321f6e03 Mon Sep 17 00:00:00 2001 From: Max Yinger Date: Thu, 8 Oct 2026 16:06:11 -0600 Subject: [PATCH] fix(mosaic): suppress model useState lint errors on main #9968 and #9992 added models that hold fetched data in useState, and landed alongside #10144, which restricts useState in models. Suppress the two violations so @clerk/mosaic#lint passes again. Co-Authored-By: Claude Opus 5.5 --- .changeset/mosaic-model-usestate-lint-suppressions.md | 2 ++ packages/mosaic/eslint-suppressions.json | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 .changeset/mosaic-model-usestate-lint-suppressions.md diff --git a/.changeset/mosaic-model-usestate-lint-suppressions.md b/.changeset/mosaic-model-usestate-lint-suppressions.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/mosaic-model-usestate-lint-suppressions.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/mosaic/eslint-suppressions.json b/packages/mosaic/eslint-suppressions.json index 419190c3cab..e14b2d4adb6 100644 --- a/packages/mosaic/eslint-suppressions.json +++ b/packages/mosaic/eslint-suppressions.json @@ -59,6 +59,16 @@ "count": 1 } }, + "src/features/user-profile/user-profile-active-devices-section/user-profile-active-devices-section.model.ts": { + "@typescript-eslint/no-restricted-imports": { + "count": 1 + } + }, + "src/features/user-profile/user-profile-web3-wallets-section/user-profile-solana-wallet.model.ts": { + "@typescript-eslint/no-restricted-imports": { + "count": 1 + } + }, "src/features/user-profile/user-profile-web3-wallets-section/user-profile-web3-wallet-row.view.tsx": { "sonarjs/cognitive-complexity": { "count": 1