Skip to content

Commit 4cc2293

Browse files
author
Olga Zinoveva
committed
Reverting linter changes to files outside of the github folder
1 parent 189cfde commit 4cc2293

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+844
-980
lines changed

Libraries/PushNotificationIOS/RCTPushNotificationPlugins.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
1111

12-
// FB Internal: FBRCTPushNotificationPlugins.h is autogenerated by the build
13-
// system.
12+
// FB Internal: FBRCTPushNotificationPlugins.h is autogenerated by the build system.
1413
#import <React/FBRCTPushNotificationPlugins.h>
1514

1615
#else

Libraries/TypeSafety/RCTConvertHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace react {
1818
template <typename T>
1919
using LazyVector = FB::LazyVector<T, id>;
2020
}
21-
} // namespace facebook
21+
}
2222

2323
template <typename ContainerT>
2424
NSArray *RCTConvertVecToArray(const ContainerT &vec, id (^convertor)(typename ContainerT::value_type element))

Libraries/TypeSafety/RCTTypedModuleConstants.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ ModuleConstants<T> typedConstants(typename T::Builder::Input &&value)
4545
return [_RCTTypedModuleConstants newWithUnsafeDictionary:builder.buildUnsafeRawValue()];
4646
}
4747

48-
} // namespace react
49-
} // namespace facebook
48+
}
49+
}

React/Base/RCTManagedPointer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RCTManagedPointer *managedPointer(P initializer)
3434
return [[RCTManagedPointer alloc] initWithPointer:std::move(ptr)];
3535
}
3636

37-
} // namespace react
38-
} // namespace facebook
37+
}
38+
}
3939

4040
#endif

React/CxxBridge/NSDataBigString.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ class NSDataBigString : public JSBigString {
3838
size_t m_length;
3939
};
4040

41-
} // namespace react
42-
} // namespace facebook
41+
}
42+
}

React/CxxBridge/RCTCxxBridgeDelegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace react {
1515
class JSExecutorFactory;
1616

1717
}
18-
} // namespace facebook
18+
}
1919

2020
// This is a separate class so non-C++ implementations don't need to
2121
// take a C++ dependency.

React/CxxModule/DispatchMessageQueueThread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ class DispatchMessageQueueThread : public MessageQueueThread {
4343
RCTModuleData *moduleData_;
4444
};
4545

46-
} // namespace react
47-
} // namespace facebook
46+
}
47+
}

React/CxxModule/RCTCxxModule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ namespace xplat {
1616
namespace module {
1717
class CxxModule;
1818
}
19-
} // namespace xplat
20-
} // namespace facebook
19+
}
20+
}
2121

2222
/**
2323
* Subclass RCTCxxModule to use cross-platform CxxModule on iOS.

React/CxxModule/RCTCxxUtils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ createNativeModules(NSArray<RCTModuleData *> *modules, RCTBridge *bridge, const
2525
NSError *tryAndReturnError(const std::function<void()> &func);
2626
NSString *deriveSourceURL(NSURL *url);
2727

28-
} // namespace react
29-
} // namespace facebook
28+
}
29+
}

React/Fabric/Mounting/ComponentViews/RCTFabricComponentsPlugins.h

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
1111

12-
// FB Internal: FBRCTFabricComponentsPlugins.h is autogenerated by the build
13-
// system.
12+
// FB Internal: FBRCTFabricComponentsPlugins.h is autogenerated by the build system.
1413
#import <React/FBRCTFabricComponentsPlugins.h>
1514

1615
#else
@@ -33,17 +32,13 @@ Class<RCTComponentViewProtocol> RCTFabricComponentsProvider(const char *name);
3332
// Lookup functions
3433
Class<RCTComponentViewProtocol> RCTSafeAreaViewCls(void) __attribute__((used));
3534
Class<RCTComponentViewProtocol> RCTScrollViewCls(void) __attribute__((used));
36-
Class<RCTComponentViewProtocol> RCTPullToRefreshViewCls(void)
37-
__attribute__((used));
38-
Class<RCTComponentViewProtocol> RCTActivityIndicatorViewCls(void)
39-
__attribute__((used));
35+
Class<RCTComponentViewProtocol> RCTPullToRefreshViewCls(void) __attribute__((used));
36+
Class<RCTComponentViewProtocol> RCTActivityIndicatorViewCls(void) __attribute__((used));
4037
Class<RCTComponentViewProtocol> RCTSwitchCls(void) __attribute__((used));
41-
Class<RCTComponentViewProtocol> RCTUnimplementedNativeViewCls(void)
42-
__attribute__((used));
38+
Class<RCTComponentViewProtocol> RCTUnimplementedNativeViewCls(void) __attribute__((used));
4339
Class<RCTComponentViewProtocol> RCTParagraphCls(void) __attribute__((used));
4440
Class<RCTComponentViewProtocol> RCTTextInputCls(void) __attribute__((used));
45-
Class<RCTComponentViewProtocol> RCTInputAccessoryCls(void)
46-
__attribute__((used));
41+
Class<RCTComponentViewProtocol> RCTInputAccessoryCls(void) __attribute__((used));
4742
Class<RCTComponentViewProtocol> RCTViewCls(void) __attribute__((used));
4843
Class<RCTComponentViewProtocol> RCTImageCls(void) __attribute__((used));
4944
Class<RCTComponentViewProtocol> RCTModalHostViewCls(void) __attribute__((used));

0 commit comments

Comments
 (0)