Skip to content

Commit 7abc9d3

Browse files
authored
Rework PwmChannel (#2)
1 parent 8f8744d commit 7abc9d3

File tree

6 files changed

+535
-27
lines changed

6 files changed

+535
-27
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"ServerUri": "https://sonarcloud.io/",
3+
"Organization": {
4+
"Key": "nanoframework",
5+
"Name": "nanoFramework"
6+
},
7+
"ProjectKey": "nanoframework_System.Device.Pwm",
8+
"ProjectName": "nanoframework_System.Device.Pwm",
9+
"Profiles": {
10+
"CSharp": {
11+
"ProfileKey": "AXhEbe274ytnW2SlpNou",
12+
"ProfileTimestamp": "2021-03-18T08:53:00Z"
13+
}
14+
}
15+
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<AnalysisInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<Settings>
4+
<Setting>
5+
<Key>sonar.cs.analyzeGeneratedCode</Key>
6+
<Value>false</Value>
7+
</Setting>
8+
<Setting>
9+
<Key>sonar.cs.file.suffixes</Key>
10+
<Value>.cs</Value>
11+
</Setting>
12+
<Setting>
13+
<Key>sonar.cs.ignoreHeaderComments</Key>
14+
<Value>true</Value>
15+
</Setting>
16+
<Setting>
17+
<Key>sonar.cs.roslyn.ignoreIssues</Key>
18+
<Value>false</Value>
19+
</Setting>
20+
</Settings>
21+
<Rules>
22+
<Rule>
23+
<Key>S107</Key>
24+
<Parameters>
25+
<Parameter>
26+
<Key>max</Key>
27+
<Value>7</Value>
28+
</Parameter>
29+
</Parameters>
30+
</Rule>
31+
<Rule>
32+
<Key>S110</Key>
33+
<Parameters>
34+
<Parameter>
35+
<Key>max</Key>
36+
<Value>5</Value>
37+
</Parameter>
38+
</Parameters>
39+
</Rule>
40+
<Rule>
41+
<Key>S1479</Key>
42+
<Parameters>
43+
<Parameter>
44+
<Key>maximum</Key>
45+
<Value>30</Value>
46+
</Parameter>
47+
</Parameters>
48+
</Rule>
49+
<Rule>
50+
<Key>S2342</Key>
51+
<Parameters>
52+
<Parameter>
53+
<Key>flagsAttributeFormat</Key>
54+
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$</Value>
55+
</Parameter>
56+
<Parameter>
57+
<Key>format</Key>
58+
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
59+
</Parameter>
60+
</Parameters>
61+
</Rule>
62+
<Rule>
63+
<Key>S2436</Key>
64+
<Parameters>
65+
<Parameter>
66+
<Key>max</Key>
67+
<Value>2</Value>
68+
</Parameter>
69+
<Parameter>
70+
<Key>maxMethod</Key>
71+
<Value>3</Value>
72+
</Parameter>
73+
</Parameters>
74+
</Rule>
75+
<Rule>
76+
<Key>S3776</Key>
77+
<Parameters>
78+
<Parameter>
79+
<Key>propertyThreshold</Key>
80+
<Value>3</Value>
81+
</Parameter>
82+
<Parameter>
83+
<Key>threshold</Key>
84+
<Value>15</Value>
85+
</Parameter>
86+
</Parameters>
87+
</Rule>
88+
</Rules>
89+
</AnalysisInput>

0 commit comments

Comments
 (0)