Typos, format and async consistency

This commit is contained in:
2025-08-12 18:28:00 -07:00
parent 76ccf20c30
commit 17cb171e36
35 changed files with 1937 additions and 907 deletions

View File

@ -0,0 +1,470 @@
[
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 11,
"CharNumber": 41,
"DiagnosticId": "IDE1006",
"FormatDescription": "error IDE1006: Naming rule violation: These words must begin with upper case characters: apiDevices"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 12,
"CharNumber": 41,
"DiagnosticId": "IDE1006",
"FormatDescription": "error IDE1006: Naming rule violation: These words must begin with upper case characters: udpDevices"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 10,
"CharNumber": 45,
"DiagnosticId": "IDE1006",
"FormatDescription": "error IDE1006: Naming rule violation: Missing prefix: \u0027_\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 209,
"CharNumber": 49,
"DiagnosticId": "IDE0049",
"FormatDescription": "warning IDE0049: Name can be simplified"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 32,
"CharNumber": 26,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 201,
"CharNumber": 9,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 203,
"CharNumber": 18,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 45,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 208,
"CharNumber": 9,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 53,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 73,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 221,
"CharNumber": 13,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 81,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 100,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 107,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 114,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 133,
"CharNumber": 26,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 140,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 209,
"CharNumber": 75,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 143,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 158,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 161,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 174,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 176,
"CharNumber": 17,
"DiagnosticId": "IDE0008",
"FormatDescription": "error IDE0008: Use explicit type instead of \u0027var\u0027"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "d562c9a2-c11c-4e41-a604-35e261537b88"
},
"FileName": "Program.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Program.cs",
"FileChanges": [
{
"LineNumber": 234,
"CharNumber": 9,
"DiagnosticId": "IDE0058",
"FormatDescription": "warning IDE0058: Expression value is never used"
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "75bf9517-12b5-40b2-b970-ba4afd8d059c"
},
"Id": "ed819aaa-de6e-4cfb-97ac-48d5cb0923fb"
},
"FileName": "Extensions.cs",
"FilePath": "L:\\Git\\GoveeCSharpConnector\\GoveeCsharpConnector.Example\\Extensions.cs",
"FileChanges": [
{
"LineNumber": 1,
"CharNumber": 21,
"DiagnosticId": "CA1050",
"FormatDescription": "error CA1050: Declare types in namespaces"
}
]
}
]

View File

@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/net8.0/GoveeCsharpConnector.Example.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "externalTerminal",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}

View File

@ -0,0 +1,5 @@
{
"cSpell.words": [
"Govee"
]
}

View File

@ -0,0 +1,66 @@
{
"version": "2.0.0",
"tasks": [
{
"args": [
"format",
"--report",
".vscode",
"--verbosity",
"detailed",
"--severity",
"warn"
],
"command": "dotnet",
"label": "Format",
"problemMatcher": "$msCompile",
"type": "process"
},
{
"args": [
"format",
"whitespace"
],
"command": "dotnet",
"label": "Format Whitespaces",
"problemMatcher": "$msCompile",
"type": "process"
},
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/GoveeCsharpConnector.Example.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/GoveeCsharpConnector.Example.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/GoveeCsharpConnector.Example.csproj"
],
"problemMatcher": "$msCompile"
}
]
}