From 692ea2365e6031df96002d2a179dba7515ec7217 Mon Sep 17 00:00:00 2001 From: DavidMina96 Date: Thu, 23 Mar 2023 12:00:43 +0200 Subject: [PATCH] Fix formatting issues --- examples/CodePush/.watchmanconfig | 2 +- examples/CodePush/__tests__/App-test.tsx | 5 +- examples/CodePush/app.json | 2 +- examples/CodePush/index.js | 4 +- .../AppIcon.appiconset/Contents.json | 62 +++++++++---------- .../CodePush/Images.xcassets/Contents.json | 6 +- 6 files changed, 40 insertions(+), 41 deletions(-) diff --git a/examples/CodePush/.watchmanconfig b/examples/CodePush/.watchmanconfig index 9e26dfeeb..0967ef424 100644 --- a/examples/CodePush/.watchmanconfig +++ b/examples/CodePush/.watchmanconfig @@ -1 +1 @@ -{} \ No newline at end of file +{} diff --git a/examples/CodePush/__tests__/App-test.tsx b/examples/CodePush/__tests__/App-test.tsx index 176ee3c5d..1278371a4 100644 --- a/examples/CodePush/__tests__/App-test.tsx +++ b/examples/CodePush/__tests__/App-test.tsx @@ -1,7 +1,6 @@ -import 'react-native'; -import React from 'react'; import App from '../src/App'; - +import React from 'react'; +import 'react-native'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; diff --git a/examples/CodePush/app.json b/examples/CodePush/app.json index cfeba970d..0fbae4bc8 100644 --- a/examples/CodePush/app.json +++ b/examples/CodePush/app.json @@ -1,4 +1,4 @@ { "name": "CodePush", "displayName": "Instabug - CodePush" -} \ No newline at end of file +} diff --git a/examples/CodePush/index.js b/examples/CodePush/index.js index ef707c254..66462607a 100644 --- a/examples/CodePush/index.js +++ b/examples/CodePush/index.js @@ -1,5 +1,5 @@ -import {AppRegistry} from 'react-native'; -import App from './src/App'; import {name as appName} from './app.json'; +import App from './src/App'; +import {AppRegistry} from 'react-native'; AppRegistry.registerComponent(appName, () => App); diff --git a/examples/CodePush/ios/CodePush/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/CodePush/ios/CodePush/Images.xcassets/AppIcon.appiconset/Contents.json index 81213230d..ddd7fca89 100644 --- a/examples/CodePush/ios/CodePush/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/examples/CodePush/ios/CodePush/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,53 +1,53 @@ { - "images" : [ + "images": [ { - "idiom" : "iphone", - "scale" : "2x", - "size" : "20x20" + "idiom": "iphone", + "scale": "2x", + "size": "20x20" }, { - "idiom" : "iphone", - "scale" : "3x", - "size" : "20x20" + "idiom": "iphone", + "scale": "3x", + "size": "20x20" }, { - "idiom" : "iphone", - "scale" : "2x", - "size" : "29x29" + "idiom": "iphone", + "scale": "2x", + "size": "29x29" }, { - "idiom" : "iphone", - "scale" : "3x", - "size" : "29x29" + "idiom": "iphone", + "scale": "3x", + "size": "29x29" }, { - "idiom" : "iphone", - "scale" : "2x", - "size" : "40x40" + "idiom": "iphone", + "scale": "2x", + "size": "40x40" }, { - "idiom" : "iphone", - "scale" : "3x", - "size" : "40x40" + "idiom": "iphone", + "scale": "3x", + "size": "40x40" }, { - "idiom" : "iphone", - "scale" : "2x", - "size" : "60x60" + "idiom": "iphone", + "scale": "2x", + "size": "60x60" }, { - "idiom" : "iphone", - "scale" : "3x", - "size" : "60x60" + "idiom": "iphone", + "scale": "3x", + "size": "60x60" }, { - "idiom" : "ios-marketing", - "scale" : "1x", - "size" : "1024x1024" + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" } ], - "info" : { - "author" : "xcode", - "version" : 1 + "info": { + "author": "xcode", + "version": 1 } } diff --git a/examples/CodePush/ios/CodePush/Images.xcassets/Contents.json b/examples/CodePush/ios/CodePush/Images.xcassets/Contents.json index 2d92bd53f..97a8662eb 100644 --- a/examples/CodePush/ios/CodePush/Images.xcassets/Contents.json +++ b/examples/CodePush/ios/CodePush/Images.xcassets/Contents.json @@ -1,6 +1,6 @@ { - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } }