diff --git a/change/@react-native-windows-codegen-510e8082-35fe-4278-aea8-f4b0e083db0d.json b/change/@react-native-windows-codegen-510e8082-35fe-4278-aea8-f4b0e083db0d.json new file mode 100644 index 00000000000..899ce9e6f62 --- /dev/null +++ b/change/@react-native-windows-codegen-510e8082-35fe-4278-aea8-f4b0e083db0d.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Cherry pick #14157 Add linter exception to generated headers for Office builds", + "packageName": "@react-native-windows/codegen", + "email": "email not defined", + "dependentChangeType": "patch" +} diff --git a/change/react-native-windows-cc61eca9-b09b-447e-a608-3d0ced36d693.json b/change/react-native-windows-cc61eca9-b09b-447e-a608-3d0ced36d693.json new file mode 100644 index 00000000000..8f0c6040d0f --- /dev/null +++ b/change/react-native-windows-cc61eca9-b09b-447e-a608-3d0ced36d693.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Cherry pick #14157 Add linter exception to generated headers for Office builds", + "packageName": "react-native-windows", + "email": "email not defined", + "dependentChangeType": "patch" +} diff --git a/packages/@react-native-windows/codegen/src/generators/GenerateNM2.ts b/packages/@react-native-windows/codegen/src/generators/GenerateNM2.ts index fa1e12f4f94..c7de600197a 100644 --- a/packages/@react-native-windows/codegen/src/generators/GenerateNM2.ts +++ b/packages/@react-native-windows/codegen/src/generators/GenerateNM2.ts @@ -24,7 +24,8 @@ const headerTemplate = `/* * in a way that also verifies at compile time that the native module matches the interface required * by the TurboModule JS spec. */ -#pragma once`; +#pragma once +// clang-format off`; const specTemplate = `::_MODULE_CUSTPM_TYPES_REFLECTION_:: struct ::_MODULE_NAME_::Spec : winrt::Microsoft::ReactNative::TurboModuleSpec { diff --git a/packages/sample-apps/codegen/NativeMyModuleDataTypes.g.h b/packages/sample-apps/codegen/NativeMyModuleDataTypes.g.h index b44cd2cfb38..eb7f18aed61 100644 --- a/packages/sample-apps/codegen/NativeMyModuleDataTypes.g.h +++ b/packages/sample-apps/codegen/NativeMyModuleDataTypes.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/packages/sample-apps/codegen/NativeMyModuleSpec.g.h b/packages/sample-apps/codegen/NativeMyModuleSpec.g.h index 5b5861629ab..c3f950aff03 100644 --- a/packages/sample-apps/codegen/NativeMyModuleSpec.g.h +++ b/packages/sample-apps/codegen/NativeMyModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off // #include "NativeMyModuleDataTypes.g.h" before this file to use the generated type definition #include diff --git a/vnext/codegen/NativeAccessibilityInfoSpec.g.h b/vnext/codegen/NativeAccessibilityInfoSpec.g.h index 80f13150aef..525022c9d67 100644 --- a/vnext/codegen/NativeAccessibilityInfoSpec.g.h +++ b/vnext/codegen/NativeAccessibilityInfoSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAccessibilityManagerSpec.g.h b/vnext/codegen/NativeAccessibilityManagerSpec.g.h index 55ef094c8e6..13204fb80a9 100644 --- a/vnext/codegen/NativeAccessibilityManagerSpec.g.h +++ b/vnext/codegen/NativeAccessibilityManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeActionSheetManagerSpec.g.h b/vnext/codegen/NativeActionSheetManagerSpec.g.h index ad0de284b85..267443c2ff4 100644 --- a/vnext/codegen/NativeActionSheetManagerSpec.g.h +++ b/vnext/codegen/NativeActionSheetManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAlertManagerSpec.g.h b/vnext/codegen/NativeAlertManagerSpec.g.h index 3ba84201993..507b416abb8 100644 --- a/vnext/codegen/NativeAlertManagerSpec.g.h +++ b/vnext/codegen/NativeAlertManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAnimatedModuleSpec.g.h b/vnext/codegen/NativeAnimatedModuleSpec.g.h index 70017e2b666..b0da7340293 100644 --- a/vnext/codegen/NativeAnimatedModuleSpec.g.h +++ b/vnext/codegen/NativeAnimatedModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAnimatedTurboModuleSpec.g.h b/vnext/codegen/NativeAnimatedTurboModuleSpec.g.h index 97d4f2de96b..a9061d93a47 100644 --- a/vnext/codegen/NativeAnimatedTurboModuleSpec.g.h +++ b/vnext/codegen/NativeAnimatedTurboModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAnimationsDebugModuleSpec.g.h b/vnext/codegen/NativeAnimationsDebugModuleSpec.g.h index 3a4904084c5..a2bcd285f3e 100644 --- a/vnext/codegen/NativeAnimationsDebugModuleSpec.g.h +++ b/vnext/codegen/NativeAnimationsDebugModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAppStateSpec.g.h b/vnext/codegen/NativeAppStateSpec.g.h index 9153299d048..c005e3d41fe 100644 --- a/vnext/codegen/NativeAppStateSpec.g.h +++ b/vnext/codegen/NativeAppStateSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAppThemeSpec.g.h b/vnext/codegen/NativeAppThemeSpec.g.h index 8f1f6a6b285..cdf9bfc7afd 100644 --- a/vnext/codegen/NativeAppThemeSpec.g.h +++ b/vnext/codegen/NativeAppThemeSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeAppearanceSpec.g.h b/vnext/codegen/NativeAppearanceSpec.g.h index 4c8cf8fc6ce..af2d1120ff0 100644 --- a/vnext/codegen/NativeAppearanceSpec.g.h +++ b/vnext/codegen/NativeAppearanceSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeBlobModuleSpec.g.h b/vnext/codegen/NativeBlobModuleSpec.g.h index 09924810019..fda258210df 100644 --- a/vnext/codegen/NativeBlobModuleSpec.g.h +++ b/vnext/codegen/NativeBlobModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeBugReportingSpec.g.h b/vnext/codegen/NativeBugReportingSpec.g.h index 2849799b5ae..797c91f8303 100644 --- a/vnext/codegen/NativeBugReportingSpec.g.h +++ b/vnext/codegen/NativeBugReportingSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeClipboardSpec.g.h b/vnext/codegen/NativeClipboardSpec.g.h index 75499fbe14a..1908c625795 100644 --- a/vnext/codegen/NativeClipboardSpec.g.h +++ b/vnext/codegen/NativeClipboardSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDevLoadingViewSpec.g.h b/vnext/codegen/NativeDevLoadingViewSpec.g.h index 2d28a64103a..8df12e28295 100644 --- a/vnext/codegen/NativeDevLoadingViewSpec.g.h +++ b/vnext/codegen/NativeDevLoadingViewSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDevMenuSpec.g.h b/vnext/codegen/NativeDevMenuSpec.g.h index 6aee622bf0a..88f498cd3a1 100644 --- a/vnext/codegen/NativeDevMenuSpec.g.h +++ b/vnext/codegen/NativeDevMenuSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDevSettingsSpec.g.h b/vnext/codegen/NativeDevSettingsSpec.g.h index 1798509a837..c17573b786f 100644 --- a/vnext/codegen/NativeDevSettingsSpec.g.h +++ b/vnext/codegen/NativeDevSettingsSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDevToolsSettingsManagerSpec.g.h b/vnext/codegen/NativeDevToolsSettingsManagerSpec.g.h index bd96ca414a2..056658eb648 100644 --- a/vnext/codegen/NativeDevToolsSettingsManagerSpec.g.h +++ b/vnext/codegen/NativeDevToolsSettingsManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDeviceEventManagerSpec.g.h b/vnext/codegen/NativeDeviceEventManagerSpec.g.h index ad195caae47..84c12436a76 100644 --- a/vnext/codegen/NativeDeviceEventManagerSpec.g.h +++ b/vnext/codegen/NativeDeviceEventManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDeviceInfoSpec.g.h b/vnext/codegen/NativeDeviceInfoSpec.g.h index dd57df10f6f..e8672b3bda5 100644 --- a/vnext/codegen/NativeDeviceInfoSpec.g.h +++ b/vnext/codegen/NativeDeviceInfoSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDialogManagerAndroidSpec.g.h b/vnext/codegen/NativeDialogManagerAndroidSpec.g.h index b56332c14f3..711c593784d 100644 --- a/vnext/codegen/NativeDialogManagerAndroidSpec.g.h +++ b/vnext/codegen/NativeDialogManagerAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeDialogManagerWindowsSpec.g.h b/vnext/codegen/NativeDialogManagerWindowsSpec.g.h index 3766224bbf7..9c5fe21a26e 100644 --- a/vnext/codegen/NativeDialogManagerWindowsSpec.g.h +++ b/vnext/codegen/NativeDialogManagerWindowsSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeExceptionsManagerSpec.g.h b/vnext/codegen/NativeExceptionsManagerSpec.g.h index b3391117069..97d3564c263 100644 --- a/vnext/codegen/NativeExceptionsManagerSpec.g.h +++ b/vnext/codegen/NativeExceptionsManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeFileReaderModuleSpec.g.h b/vnext/codegen/NativeFileReaderModuleSpec.g.h index fc6c2db899b..e8cd720496d 100644 --- a/vnext/codegen/NativeFileReaderModuleSpec.g.h +++ b/vnext/codegen/NativeFileReaderModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeFrameRateLoggerSpec.g.h b/vnext/codegen/NativeFrameRateLoggerSpec.g.h index d4890796e7c..5a78e6a22d9 100644 --- a/vnext/codegen/NativeFrameRateLoggerSpec.g.h +++ b/vnext/codegen/NativeFrameRateLoggerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeHeadlessJsTaskSupportSpec.g.h b/vnext/codegen/NativeHeadlessJsTaskSupportSpec.g.h index ffb77541dde..4ba71d2e7ae 100644 --- a/vnext/codegen/NativeHeadlessJsTaskSupportSpec.g.h +++ b/vnext/codegen/NativeHeadlessJsTaskSupportSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeI18nManagerSpec.g.h b/vnext/codegen/NativeI18nManagerSpec.g.h index e65dbf03fb7..2e9eab293a0 100644 --- a/vnext/codegen/NativeI18nManagerSpec.g.h +++ b/vnext/codegen/NativeI18nManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeImageEditorSpec.g.h b/vnext/codegen/NativeImageEditorSpec.g.h index f2ae68f7d1f..f308bd08654 100644 --- a/vnext/codegen/NativeImageEditorSpec.g.h +++ b/vnext/codegen/NativeImageEditorSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeImageLoaderAndroidSpec.g.h b/vnext/codegen/NativeImageLoaderAndroidSpec.g.h index 113f7b3545e..2f54b2d8641 100644 --- a/vnext/codegen/NativeImageLoaderAndroidSpec.g.h +++ b/vnext/codegen/NativeImageLoaderAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeImageLoaderIOSSpec.g.h b/vnext/codegen/NativeImageLoaderIOSSpec.g.h index bbdd315456b..4b69e50442a 100644 --- a/vnext/codegen/NativeImageLoaderIOSSpec.g.h +++ b/vnext/codegen/NativeImageLoaderIOSSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeImageStoreAndroidSpec.g.h b/vnext/codegen/NativeImageStoreAndroidSpec.g.h index e4e33f4aea8..66fccbe9a63 100644 --- a/vnext/codegen/NativeImageStoreAndroidSpec.g.h +++ b/vnext/codegen/NativeImageStoreAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeImageStoreIOSSpec.g.h b/vnext/codegen/NativeImageStoreIOSSpec.g.h index 8d18990eaa6..887fa9af152 100644 --- a/vnext/codegen/NativeImageStoreIOSSpec.g.h +++ b/vnext/codegen/NativeImageStoreIOSSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeIntentAndroidSpec.g.h b/vnext/codegen/NativeIntentAndroidSpec.g.h index 8d313fd3e95..861ecc0267e 100644 --- a/vnext/codegen/NativeIntentAndroidSpec.g.h +++ b/vnext/codegen/NativeIntentAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeIntersectionObserverSpec.g.h b/vnext/codegen/NativeIntersectionObserverSpec.g.h index b9121bc1b2c..6445eec039c 100644 --- a/vnext/codegen/NativeIntersectionObserverSpec.g.h +++ b/vnext/codegen/NativeIntersectionObserverSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeJSCHeapCaptureSpec.g.h b/vnext/codegen/NativeJSCHeapCaptureSpec.g.h index 1462a337d6e..aa9adddd0f1 100644 --- a/vnext/codegen/NativeJSCHeapCaptureSpec.g.h +++ b/vnext/codegen/NativeJSCHeapCaptureSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeJSCSamplingProfilerSpec.g.h b/vnext/codegen/NativeJSCSamplingProfilerSpec.g.h index 0e2191c3f0d..72e41e776e7 100644 --- a/vnext/codegen/NativeJSCSamplingProfilerSpec.g.h +++ b/vnext/codegen/NativeJSCSamplingProfilerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeKeyboardObserverSpec.g.h b/vnext/codegen/NativeKeyboardObserverSpec.g.h index 08627689213..3c888dc5023 100644 --- a/vnext/codegen/NativeKeyboardObserverSpec.g.h +++ b/vnext/codegen/NativeKeyboardObserverSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeLinkingManagerSpec.g.h b/vnext/codegen/NativeLinkingManagerSpec.g.h index 82ec7a071bc..665568db801 100644 --- a/vnext/codegen/NativeLinkingManagerSpec.g.h +++ b/vnext/codegen/NativeLinkingManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeLogBoxSpec.g.h b/vnext/codegen/NativeLogBoxSpec.g.h index f833fca6175..0e510c75996 100644 --- a/vnext/codegen/NativeLogBoxSpec.g.h +++ b/vnext/codegen/NativeLogBoxSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeModalManagerSpec.g.h b/vnext/codegen/NativeModalManagerSpec.g.h index e88abaa1d27..9cb67c0b03b 100644 --- a/vnext/codegen/NativeModalManagerSpec.g.h +++ b/vnext/codegen/NativeModalManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeMutationObserverSpec.g.h b/vnext/codegen/NativeMutationObserverSpec.g.h index dfb9effeaac..5412c54a203 100644 --- a/vnext/codegen/NativeMutationObserverSpec.g.h +++ b/vnext/codegen/NativeMutationObserverSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeNetworkingAndroidSpec.g.h b/vnext/codegen/NativeNetworkingAndroidSpec.g.h index 53bb429b9cc..3f6a0276878 100644 --- a/vnext/codegen/NativeNetworkingAndroidSpec.g.h +++ b/vnext/codegen/NativeNetworkingAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeNetworkingIOSSpec.g.h b/vnext/codegen/NativeNetworkingIOSSpec.g.h index 11c7e9bbe22..42d2eb7093c 100644 --- a/vnext/codegen/NativeNetworkingIOSSpec.g.h +++ b/vnext/codegen/NativeNetworkingIOSSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativePerformanceObserverSpec.g.h b/vnext/codegen/NativePerformanceObserverSpec.g.h index fd1c078e2b8..143a014330f 100644 --- a/vnext/codegen/NativePerformanceObserverSpec.g.h +++ b/vnext/codegen/NativePerformanceObserverSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativePerformanceSpec.g.h b/vnext/codegen/NativePerformanceSpec.g.h index 0e5ec8129cc..d42e71f4c12 100644 --- a/vnext/codegen/NativePerformanceSpec.g.h +++ b/vnext/codegen/NativePerformanceSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativePermissionsAndroidSpec.g.h b/vnext/codegen/NativePermissionsAndroidSpec.g.h index e74f83dfb98..4bde8da8dae 100644 --- a/vnext/codegen/NativePermissionsAndroidSpec.g.h +++ b/vnext/codegen/NativePermissionsAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativePlatformConstantsAndroidSpec.g.h b/vnext/codegen/NativePlatformConstantsAndroidSpec.g.h index 5e221fa6267..e5e269d2ac7 100644 --- a/vnext/codegen/NativePlatformConstantsAndroidSpec.g.h +++ b/vnext/codegen/NativePlatformConstantsAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativePlatformConstantsIOSSpec.g.h b/vnext/codegen/NativePlatformConstantsIOSSpec.g.h index 52377fda46c..77426af2c38 100644 --- a/vnext/codegen/NativePlatformConstantsIOSSpec.g.h +++ b/vnext/codegen/NativePlatformConstantsIOSSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativePlatformConstantsWinSpec.g.h b/vnext/codegen/NativePlatformConstantsWinSpec.g.h index d6584ea3b55..b0763d969d3 100644 --- a/vnext/codegen/NativePlatformConstantsWinSpec.g.h +++ b/vnext/codegen/NativePlatformConstantsWinSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativePushNotificationManagerIOSSpec.g.h b/vnext/codegen/NativePushNotificationManagerIOSSpec.g.h index f774b363828..b0be16554ac 100644 --- a/vnext/codegen/NativePushNotificationManagerIOSSpec.g.h +++ b/vnext/codegen/NativePushNotificationManagerIOSSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeRedBoxSpec.g.h b/vnext/codegen/NativeRedBoxSpec.g.h index c6ef7c88d3b..df5920f44d0 100644 --- a/vnext/codegen/NativeRedBoxSpec.g.h +++ b/vnext/codegen/NativeRedBoxSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeSampleTurboModuleSpec.g.h b/vnext/codegen/NativeSampleTurboModuleSpec.g.h index 4eea12cc988..e599aee4c06 100644 --- a/vnext/codegen/NativeSampleTurboModuleSpec.g.h +++ b/vnext/codegen/NativeSampleTurboModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeSegmentFetcherSpec.g.h b/vnext/codegen/NativeSegmentFetcherSpec.g.h index da91959a07b..437c2ec2733 100644 --- a/vnext/codegen/NativeSegmentFetcherSpec.g.h +++ b/vnext/codegen/NativeSegmentFetcherSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeSettingsManagerSpec.g.h b/vnext/codegen/NativeSettingsManagerSpec.g.h index ef1fdcee8b7..e7c95185389 100644 --- a/vnext/codegen/NativeSettingsManagerSpec.g.h +++ b/vnext/codegen/NativeSettingsManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeShareModuleSpec.g.h b/vnext/codegen/NativeShareModuleSpec.g.h index e464e8ef122..203924e6799 100644 --- a/vnext/codegen/NativeShareModuleSpec.g.h +++ b/vnext/codegen/NativeShareModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeSoundManagerSpec.g.h b/vnext/codegen/NativeSoundManagerSpec.g.h index bda018e0562..0261a978d41 100644 --- a/vnext/codegen/NativeSoundManagerSpec.g.h +++ b/vnext/codegen/NativeSoundManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeSourceCodeSpec.g.h b/vnext/codegen/NativeSourceCodeSpec.g.h index 668955e1149..814ab87ba70 100644 --- a/vnext/codegen/NativeSourceCodeSpec.g.h +++ b/vnext/codegen/NativeSourceCodeSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeStatusBarManagerAndroidSpec.g.h b/vnext/codegen/NativeStatusBarManagerAndroidSpec.g.h index 5e88242e4e3..1bd4371f002 100644 --- a/vnext/codegen/NativeStatusBarManagerAndroidSpec.g.h +++ b/vnext/codegen/NativeStatusBarManagerAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeStatusBarManagerIOSSpec.g.h b/vnext/codegen/NativeStatusBarManagerIOSSpec.g.h index fc91d65d92f..aa643aa9c06 100644 --- a/vnext/codegen/NativeStatusBarManagerIOSSpec.g.h +++ b/vnext/codegen/NativeStatusBarManagerIOSSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeTimingSpec.g.h b/vnext/codegen/NativeTimingSpec.g.h index 9e13a81d129..8f06e1a7529 100644 --- a/vnext/codegen/NativeTimingSpec.g.h +++ b/vnext/codegen/NativeTimingSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeToastAndroidSpec.g.h b/vnext/codegen/NativeToastAndroidSpec.g.h index ddc51e3e8bb..117aefda153 100644 --- a/vnext/codegen/NativeToastAndroidSpec.g.h +++ b/vnext/codegen/NativeToastAndroidSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeUIManagerSpec.g.h b/vnext/codegen/NativeUIManagerSpec.g.h index b463b8bf5a9..cdba9c70bda 100644 --- a/vnext/codegen/NativeUIManagerSpec.g.h +++ b/vnext/codegen/NativeUIManagerSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeVibrationSpec.g.h b/vnext/codegen/NativeVibrationSpec.g.h index 41b7edd44ab..0f62498567b 100644 --- a/vnext/codegen/NativeVibrationSpec.g.h +++ b/vnext/codegen/NativeVibrationSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include diff --git a/vnext/codegen/NativeWebSocketModuleSpec.g.h b/vnext/codegen/NativeWebSocketModuleSpec.g.h index a73f9ddb8f0..1e037ea4d15 100644 --- a/vnext/codegen/NativeWebSocketModuleSpec.g.h +++ b/vnext/codegen/NativeWebSocketModuleSpec.g.h @@ -7,6 +7,7 @@ * by the TurboModule JS spec. */ #pragma once +// clang-format off #include #include