From 0d6a563d415ae62fbfe3b3c00b3650bb54d44e2b Mon Sep 17 00:00:00 2001 From: Travis Prescott Date: Mon, 26 Feb 2024 09:27:50 -0800 Subject: [PATCH] Disable Azure.Core `bad-record-type` rule for ARM. --- packages/typespec-azure-resource-manager/src/linter.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/typespec-azure-resource-manager/src/linter.ts b/packages/typespec-azure-resource-manager/src/linter.ts index 13750e3052..361582ac07 100644 --- a/packages/typespec-azure-resource-manager/src/linter.ts +++ b/packages/typespec-azure-resource-manager/src/linter.ts @@ -65,6 +65,8 @@ export const $linter = defineLinter({ ...allRulesEnabled, // TODO: Enable this rule once azure-rest-api-specs repo is ready (issue #3839) [`@azure-tools/typespec-azure-resource-manager/${armCommonTypesVersionRule.name}`]: false, + // This clashes with the ARM `no-record` rule. + [`@azure-tools/typespec-azure-core/bad-record-type`]: false, }, extends: ["@azure-tools/typespec-azure-core/all"], },