Skip to content

Commit 4f7f147

Browse files
nschonniconceptdev
authored andcommitted
fix: MD047/single-trailing-newline (#2079)
Files should end with a single newline character
1 parent f26b592 commit 4f7f147

File tree

15 files changed

+39
-39
lines changed

15 files changed

+39
-39
lines changed

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Code of Conduct
22

33
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
4+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

docs/android/get-started/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ development.
4646

4747
> [!VIDEO https://youtube.com/embed/rkNikCa5D48]
4848
49-
**Building Your First Android App with Xamarin for Visual Studio**
49+
**Building Your First Android App with Xamarin for Visual Studio**

docs/android/get-started/installation/android-emulator/hardware-acceleration.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ criteria are met:
5252
an **x86**-based virtual device.
5353

5454
> [!IMPORTANT]
55-
> You can't run a VM-accelerated emulator inside another VM, such as
56-
> a VM hosted by VirtualBox, VMWare, or Docker. You must run the Android
55+
> You can't run a VM-accelerated emulator inside another VM, such as
56+
> a VM hosted by VirtualBox, VMWare, or Docker. You must run the Android
5757
> emulator [directly on your system hardware](https://developer.android.com/studio/run/emulator-acceleration.html#extensions).
5858
5959
For information about launching and debugging with the Android
@@ -87,12 +87,12 @@ to support the Windows Hypervisor Platform:
8787

8888
- Your computer must be updated to Windows 10 April 2018 update
8989
(build 1803) or later. You can verify that your Windows version
90-
is up-to-date by using the following steps:
90+
is up-to-date by using the following steps:
9191

92-
1. Enter **About** in the Windows search box.
93-
2. Select **About your PC** in the search results.
94-
3. Scroll down in the **About** dialog to the **Windows specifications**
95-
section.
92+
1. Enter **About** in the Windows search box.
93+
2. Select **About your PC** in the search results.
94+
3. Scroll down in the **About** dialog to the **Windows specifications**
95+
section.
9696
4. Verify that the **Version** is at least 1803:
9797

9898
[![Windows specifications](hardware-acceleration-images/win/01-about-windows-w10-sml.png)](hardware-acceleration-images/win/01-about-windows-w10.png#lightbox)
@@ -220,7 +220,7 @@ accelerating the Android emulator:
220220
is a feature of macOS 10.10 and later that makes it possible to run
221221
virtual machines on a Mac.
222222
223-
2. **Intel's Hardware Accelerated Execution Manager (HAXM)**.
223+
2. **Intel's Hardware Accelerated Execution Manager (HAXM)**.
224224
[HAXM](https://software.intel.com/articles/intel-hardware-accelerated-execution-manager-intel-haxm)
225225
is a virtualization engine for computers running Intel CPUs.
226226
@@ -237,10 +237,10 @@ if the following criteria are met:
237237
an **x86**-based virtual device.
238238
239239
> [!IMPORTANT]
240-
>
241-
> You can't run a VM-accelerated emulator inside another VM,
242-
> such as a VM hosted by VirtualBox, VMWare, or Docker. You
243-
> must run the Android emulator
240+
>
241+
> You can't run a VM-accelerated emulator inside another VM,
242+
> such as a VM hosted by VirtualBox, VMWare, or Docker. You
243+
> must run the Android emulator
244244
> [directly on your system hardware](https://developer.android.com/studio/run/emulator-acceleration.html#extensions).
245245
246246
For information about launching and debugging with the Android
@@ -251,7 +251,7 @@ emulator, see
251251
252252
## Accelerating with the Hypervisor Framework
253253
254-
To use the Android emulator with the Hypervisor Framework, your Mac must
254+
To use the Android emulator with the Hypervisor Framework, your Mac must
255255
meet the following criteria:
256256
257257
- Your Mac must be running macOS 10.10 or later.
@@ -274,7 +274,7 @@ HAXM to accelerate the Android emulator (described next).
274274
275275
If your Mac does not support the Hypervisor framework (or you are using
276276
a version of macOS earlier than 10.10), you can use **Intel's Hardware
277-
Accelerated Execution Manager**
277+
Accelerated Execution Manager**
278278
([HAXM](https://software.intel.com/articles/intel-hardware-accelerated-execution-manager-intel-haxm))
279279
to speed up the Android emulator.
280280
@@ -343,4 +343,4 @@ guide.
343343
344344
## Related Links
345345
346-
- [Run Apps on the Android Emulator](https://developer.android.com/studio/run/emulator)
346+
- [Run Apps on the Android Emulator](https://developer.android.com/studio/run/emulator)

docs/cross-platform/includes/development-environment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ms.topic: include
99
|**Xamarin.Forms** ^|iOS & Android|Android, Windows/UWP (iOS with Mac computer)|
1010
|**Xamarin.Mac**|Yes|Open project & compile only|
1111

12-
_^ [Other platforms](https://github.com/xamarin/Xamarin.Forms/wiki/Platform-Support) are also available._
12+
_^ [Other platforms](https://github.com/xamarin/Xamarin.Forms/wiki/Platform-Support) are also available._

docs/cross-platform/includes/install-xamarin-windows-2019.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ re-running the Visual Studio 2019 installer to modify workloads (see
3939
for details). Next, follow the steps listed above to install Xamarin.
4040

4141
For more information about downloading and installing Visual Studio
42-
2019, see [Install Visual Studio 2019](https://docs.microsoft.com/visualstudio/install/install-visual-studio).
42+
2019, see [Install Visual Studio 2019](https://docs.microsoft.com/visualstudio/install/install-visual-studio).

docs/cross-platform/includes/install-xamarin-windows.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ re-running the Visual Studio 2017 installer to modify workloads (see
4747
for details). Next, follow the steps listed above to install Xamarin.
4848

4949
For more information about downloading and installing Visual Studio
50-
2017, see [Install Visual Studio 2017](https://docs.microsoft.com/visualstudio/install/install-visual-studio).
50+
2017, see [Install Visual Studio 2017](https://docs.microsoft.com/visualstudio/install/install-visual-studio).

docs/cross-platform/troubleshooting/questions/nuget-packages-missing.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ ms.date: 05/08/2018
1010

1111
# Missing packages error after updating Nuget packages
1212

13-
This issue has mainly been reported on Xamarin.Forms sample app solutions, but the potential for this issue can happen on any project that uses NuGet packages.
13+
This issue has mainly been reported on Xamarin.Forms sample app solutions, but the potential for this issue can happen on any project that uses NuGet packages.
1414

1515
If after updating Nuget packages in your project or solution, you see an error that references the old package version numbers, such as:
1616

1717
```csharp
1818
Error: This project references NuGet package(s) that are missing on this computer.
19-
Enable NuGet Package Restore to download them.
19+
Enable NuGet Package Restore to download them.
2020
For more information, see http://go.microsoft.com/fwlink/?LinkID=322105
2121
2222
The missing file is ../../packages/Xamarin.Forms.1.3.1.6296/build/portable-win+net45+wp80+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.targets. (FormsGallery)
2323
```
2424

2525
In this example *Xamarin.Forms.1.3.1.6296* is the old version number that was removed with the Nuget package update.
2626

27-
This can happen if the XML elements in the .csproj file that reference the old package version number had been manually added or edited, Nuget will not remove or update them if they had been manually added/edited, so the project is now looking for packages that have been deleted.
27+
This can happen if the XML elements in the .csproj file that reference the old package version number had been manually added or edited, Nuget will not remove or update them if they had been manually added/edited, so the project is now looking for packages that have been deleted.
2828

29-
To fix this issue, manually edit the .csproj file(s) and delete all of the elements that reference the old version number.
29+
To fix this issue, manually edit the .csproj file(s) and delete all of the elements that reference the old version number.
3030

3131
Sample elements to remove (if they have the old package version number):
3232

@@ -37,4 +37,4 @@ Sample elements to remove (if they have the old package version number):
3737

3838
<Import Project="..\..\packages\Xamarin.Forms.1.3.1.6296\build\portable-win+net45+wp80+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.1.3.1.6296\build\portable-win+net45+wp80+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
3939
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.1.3.1.6296\build\portable-win+net45+wp80+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.1.3.1.6296\build\portable-win+net45+wp80+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
40-
```
40+
```

docs/cross-platform/troubleshooting/questions/visualstudio-2017-rc.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ ms.author: amburns
99
ms.date: 03/29/2017
1010
---
1111

12-
Note to editors: This content has been intentionally deleted and redirected.
12+
Note to editors: This content has been intentionally deleted and redirected.
1313
This redirect should be centralized with other redirects and this file should
14-
be removed.
14+
be removed.

docs/get-started/requirements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ Xamarin.Forms solution at any time.
9393
These platforms are not supported when using Xamarin.Forms 3.0 or newer:
9494

9595
- *Windows 8.1 / Windows Phone 8.1 WinRT*
96-
- *Windows Phone 8 Silverlight*
96+
- *Windows Phone 8 Silverlight*

docs/ios/platform/file-compression.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ static void CompressExample ()
8181

8282
## Async support
8383

84-
The `CompressionStream` supports all the async operations that are supported by the `System.IO.DeflateStream`, which means that developers can use the async keyword to perform the compress/decompress operations without blocking the UI thread.
84+
The `CompressionStream` supports all the async operations that are supported by the `System.IO.DeflateStream`, which means that developers can use the async keyword to perform the compress/decompress operations without blocking the UI thread.

docs/ios/platform/gaming/scenekit.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SceneKit is extremely easy to work with. It is a declarative API that takes care
1717

1818
To work with SceneKit you create a scene graph using the `SCNScene` class. A scene contains a hierarchy of nodes, represented by instances of `SCNNode`, defining locations in 3D space. Each node has properties such as geometry, lighting and materials that affect its appearance, as illustrated by the following figure:
1919

20-
![](scenekit-images/image7.png "The SceneKit hierarchy")
20+
![](scenekit-images/image7.png "The SceneKit hierarchy")
2121

2222
## Create a Scene
2323

@@ -68,7 +68,7 @@ scene.RootNode.AddChildNode (ambientLightNode);
6868
With the lights in place, the sphere is now visible in the scene.
6969

7070
![](scenekit-images/image8.png "The sphere is visible in the scene when lit")
71-
71+
7272
## Adding a Camera
7373

7474
Adding a camera (SCNCamera) to the scene changes the point of view. The pattern to add the camera is similar. Create the camera, attach it to a node and add the node to the scene.
@@ -91,11 +91,11 @@ As you can see from the code above, SceneKit objects can be created using constr
9191
With the camera in place, the entire sphere is visible to the user:
9292

9393
![](scenekit-images/image9.png "The entire sphere is visible to the user")
94-
94+
9595
You can add additional lights to the scene as well. Here is what it looks like with a few more omnidirectional lights:
9696

9797
![](scenekit-images/image10.png "The sphere with a few more omnidirectional lights")
98-
98+
9999
Additionally, by setting `sceneView.AllowsCameraControl = true`, the user can change the point of view with a touch gesture.
100100

101101
### Materials
@@ -111,11 +111,11 @@ sphere.Materials = new SCNMaterial[] { material };
111111
This layers the image onto the node as shown below:
112112

113113
![](scenekit-images/image11.png "Layering the image onto the sphere")
114-
114+
115115
A material can be set to respond to other types of lighting too. For example, the object can be made shiny and have its specular contents set to display specular reflection, resulting in a bright spot on the surface, as shown below:
116116

117117
![](scenekit-images/image12.png "The object made shiny with specular reflection, resulting in a bright spot on the surface")
118-
118+
119119
Materials are very flexible, allowing you to achieve a lot with very little code. For example, instead of setting the image to the diffuse contents, set it to the reflective contents instead.
120120

121121
```csharp

docs/ios/platform/ios13/troubleshooting/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ Until there is a [fix](https://github.com/xamarin/xamarin-macios/issues/6216), t
5151

5252
`/Applications/Xcode102.app/Contents/Developer/usr/bin/xcodebuild -runFirstLaunch`
5353

54-
After following these steps, you should be able to work with the iOS simulator again.
54+
After following these steps, you should be able to work with the iOS simulator again.

docs/ios/tvos/platform/introduction-to-tvos12/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ to adopt Metal.
6464
- [tvOS Samples](https://docs.microsoft.com/samples/browse/?products=xamarin&term=Xamarin.iOS+tvOS)
6565
- [tvOS – Apple Developer (Apple)](https://developer.apple.com/tvos/)
6666
- [What's new in tvOS 12 (Apple) (video)](https://developer.apple.com/videos/play/wwdc2018/208/)
67-
- [TV (Apple)](https://www.apple.com/tv/)
67+
- [TV (Apple)](https://www.apple.com/tv/)

docs/tools/ios-simulator/deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Watch this video for step-by-step instructions on using Visual Studio 2017 on Wi
1414

1515
> [!Video https://channel9.msdn.com/Shows/XamarinShow/Deploying--Debugging-NET-iOS-apps-with-Visual-Studio-2017/player]
1616
17-
Learn more about the [Remoted iOS Simulators features](index.md).
17+
Learn more about the [Remoted iOS Simulators features](index.md).

docs/xamarin-forms/user-interface/toolbaritem.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ When the `Order` property is set to `Secondary`, behavior varies across platform
114114

115115
* [ToolbarItem Demos](https://docs.microsoft.com/samples/xamarin/xamarin-forms-samples/userinterface-toolbaritem/)
116116
* [Images in Xamarin.Forms](~/xamarin-forms/user-interface/images.md)
117-
* [Xamarin.Forms MenuItem](~/xamarin-forms/user-interface/menuitem.md)
117+
* [Xamarin.Forms MenuItem](~/xamarin-forms/user-interface/menuitem.md)

0 commit comments

Comments
 (0)