diff --git a/.sonarlint/connectedMode.json b/.sonarlint/connectedMode.json new file mode 100644 index 00000000..4c6fa20e --- /dev/null +++ b/.sonarlint/connectedMode.json @@ -0,0 +1,4 @@ +{ + "sonarQubeUri": "https://next.sonarqube.com/sonarqube", + "projectKey": "org.sonarsource.sonarlint.omnisharp:sonarlint-omnisharp-parent" +} diff --git a/omnisharp-dotnet/.sonarlint/SonarLint.OmniSharp.DotNet.Services.slconfig b/omnisharp-dotnet/.sonarlint/SonarLint.OmniSharp.DotNet.Services.slconfig deleted file mode 100644 index a51baba2..00000000 --- a/omnisharp-dotnet/.sonarlint/SonarLint.OmniSharp.DotNet.Services.slconfig +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ServerUri": "https://next.sonarqube.com/sonarqube/", - "Organization": null, - "ProjectKey": "sonarlint-omnisharp-dotnet", - "ProjectName": "sonarlint-omnisharp-dotnet", - "Profiles": { - "CSharp": { - "ProfileKey": "cs-c-qp-for-sonarsource-73109", - "ProfileTimestamp": "2021-04-21T22:08:23Z" - } - } -} \ No newline at end of file diff --git a/omnisharp-dotnet/.sonarlint/SonarLint.OmniSharp.Dotnet.Services.json b/omnisharp-dotnet/.sonarlint/SonarLint.OmniSharp.Dotnet.Services.json new file mode 100644 index 00000000..a55f750a --- /dev/null +++ b/omnisharp-dotnet/.sonarlint/SonarLint.OmniSharp.Dotnet.Services.json @@ -0,0 +1,4 @@ +{ + "SonarQubeUri": "https://next.sonarqube.com/sonarqube", + "ProjectKey": "sonarlint-omnisharp-dotnet" +} \ No newline at end of file diff --git a/omnisharp-dotnet/.sonarlint/sonarlint-omnisharp-dotnet/CSharp/SonarLint.xml b/omnisharp-dotnet/.sonarlint/sonarlint-omnisharp-dotnet/CSharp/SonarLint.xml deleted file mode 100644 index 47ad9387..00000000 --- a/omnisharp-dotnet/.sonarlint/sonarlint-omnisharp-dotnet/CSharp/SonarLint.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - sonar.cs.analyzeGeneratedCode - false - - - sonar.cs.file.suffixes - .cs - - - sonar.cs.ignoreHeaderComments - true - - - sonar.cs.roslyn.ignoreIssues - false - - - - - S103 - - - maximumLineLength - 200 - - - - - S1067 - - - max - 8 - - - - - S107 - - - max - 7 - - - - - S110 - - - max - 5 - - - - - S1151 - - - max - 12 - - - - - S1192 - - - threshold - 3 - - - - - S1200 - - - max - 30 - - - - - S134 - - - max - 3 - - - - - S138 - - - max - 80 - - - - - S1451 - - - headerFormat - /* - * Copyright (C) 2018-2021 SonarSource SA - * All rights reserved - * mailto:info AT sonarsource DOT com - */ - - - isRegularExpression - false - - - - - S1479 - - - maximum - 30 - - - - - S2342 - - - flagsAttributeFormat - ^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$ - - - format - ^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$ - - - - - S2436 - - - max - 2 - - - maxMethod - 3 - - - - - S3776 - - - propertyThreshold - 3 - - - threshold - 15 - - - - - \ No newline at end of file diff --git a/omnisharp-dotnet/.sonarlint/sonarlint-omnisharp-dotnetcsharp.ruleset b/omnisharp-dotnet/.sonarlint/sonarlint-omnisharp-dotnetcsharp.ruleset deleted file mode 100644 index af1b3373..00000000 --- a/omnisharp-dotnet/.sonarlint/sonarlint-omnisharp-dotnetcsharp.ruleset +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/omnisharp-dotnet/Directory.Build.props b/omnisharp-dotnet/Directory.Build.props index 13300b04..e0944d0c 100644 --- a/omnisharp-dotnet/Directory.Build.props +++ b/omnisharp-dotnet/Directory.Build.props @@ -10,15 +10,6 @@ - - $(MSBuildThisFileDirectory).sonarlint\sonarlint-omnisharp-dotnetcsharp.ruleset - - - - - Properties\SonarLint.xml - -