Skip to content

Commit

Permalink
Fix SL feature branch ITs (#6927)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristian-ambrosini-sonarsource authored and csaba-sagi-sonarsource committed Mar 16, 2023
1 parent 06614dd commit 04495f3
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
@@ -0,0 +1,17 @@
{
"issues": [
{
"id": "S1451",
"message": "Add or update the header of this file.",
"location": {
"uri": "sources\SonarLintExclusions\SonarLintExclusions\Included\Included.cs",
"region": {
"startLine": 1,
"startColumn": 1,
"endLine": 1,
"endColumn": 1
}
}
}
]
}
30 changes: 30 additions & 0 deletions analyzers/its/sources/AnalyzeGenerated.CS/SonarLint.xml
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<AnalysisInput>
<Settings>
<Setting>
<Key>sonar.cs.ignoreHeaderComments</Key>
<Value>true</Value>
</Setting>
<Setting>
<Key>sonar.cs.analyzeGeneratedCode</Key>
<Value>true</Value>
</Setting>
<Setting>
<Key>sonar.cs.file.suffixes</Key>
<Value>.cs</Value>
</Setting>
</Settings>
<Rules>
<Rule>
<Key>S1067</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>1</Value>
</Parameter>
</Parameters>
</Rule>
</Rules>
<Files>
</Files>
</AnalysisInput>
30 changes: 30 additions & 0 deletions analyzers/its/sources/SkipGenerated.CS/SonarLint.xml
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<AnalysisInput>
<Settings>
<Setting>
<Key>sonar.cs.ignoreHeaderComments</Key>
<Value>true</Value>
</Setting>
<Setting>
<Key>sonar.cs.analyzeGeneratedCode</Key>
<Value>false</Value>
</Setting>
<Setting>
<Key>sonar.cs.file.suffixes</Key>
<Value>.cs</Value>
</Setting>
</Settings>
<Rules>
<Rule>
<Key>S1067</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>1</Value>
</Parameter>
</Parameters>
</Rule>
</Rules>
<Files>
</Files>
</AnalysisInput>

0 comments on commit 04495f3

Please sign in to comment.