Skip to content

Commit a7aa31f

Browse files
authored
Skip sonar scan on pull requests (#37)
* Skip sonar scan on pull requests * Don't install sonarscanner on PR. * Add editor config and gitattributes. * Format code.
1 parent b9781a2 commit a7aa31f

29 files changed

+62
-42
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = crlf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.yml]
12+
indent_size = 2
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* text=auto
2+
3+
*.cs text diff=csharp eol=crlf
4+
*.sln text merge=union eol=crlf
5+
*.csproj text merge=union eol=crlf

WebDriverManager.Tests/BinaryServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ public void RemoveZipTargetMissing()
3838
Assert.False(File.Exists(zipPath));
3939
}
4040
}
41-
}
41+
}

WebDriverManager.Tests/ChromeConfigTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public void DriverDownloadTest()
2121
new DriverManager().SetUpDriver(new ChromeConfig());
2222
}
2323
}
24-
}
24+
}

WebDriverManager.Tests/EdgeConfigTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public void DriverDownloadTest()
2121
new DriverManager().SetUpDriver(new EdgeConfig());
2222
}
2323
}
24-
}
24+
}

WebDriverManager.Tests/FirefoxConfigTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public void DriverDownloadTest()
2121
new DriverManager().SetUpDriver(new FirefoxConfig());
2222
}
2323
}
24-
}
24+
}

WebDriverManager.Tests/InternetExplorerConfigTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public void DriverDownloadTest()
2121
new DriverManager().SetUpDriver(new InternetExplorerConfig());
2222
}
2323
}
24-
}
24+
}

WebDriverManager.Tests/OperaConfigTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public void DriverDownloadTest()
2121
new DriverManager().SetUpDriver(new OperaConfig());
2222
}
2323
}
24-
}
24+
}

WebDriverManager.Tests/PhantomConfigTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public void DriverDownloadTest()
2121
new DriverManager().SetUpDriver(new PhantomConfig());
2222
}
2323
}
24-
}
24+
}

WebDriverManager.Tests/ServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ public void CustomServiceTest()
2727
Assert.Contains(_chromeConfig.GetName(), pathVariable);
2828
}
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)