Browse files

Specify tab size for Ruby code

  • Loading branch information...
daniellee committed Aug 25, 2013
1 parent 12f7e8e commit 203f107808558be8ba7ec57d88ea37f78787d666
Showing with 4 additions and 2 deletions.
  1. +4 −2
@@ -6,16 +6,18 @@ Thanks for taking the time to submit a pull request. Here are a few tips to help
## Tabs
-We use the Visual Studio default:
+We use the Visual Studio default for C# code:
* smart indentation
* tab size: 4
* indent size: 4
* insert spaces
We are aware that there is a mixture of tabs and spaces in the code, so feel free to reformat the code to this standard. But if you do so, please put it in a separate commit.
+If you are making changes to the rake files (written in Ruby) then the default tab size is 2.
## Line Endings in Git
To avoid problems with line endings we set autocrlf to true in Git. Merging or rebasing code with lf endings is very unpleasant. To set the autocrlf option for your local FluentMigrator Git repository, cd (change directory) to the FluentMigrator folder and use the following command:
-<pre><code>git config core.autocrlf true</code></pre>
+<pre><code>git config core.autocrlf true</code></pre>

0 comments on commit 203f107

Please sign in to comment.