Live preview while editing AXAML files #306
Annotations
1 error, 4 warnings, and 10 notices
Inspect code
Issues found.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Inspect code:
src/Consolonia.Core/Drawing/DrawingContextImpl.cs#L307
"[CompareOfFloatsByEqualityOperator] Equality comparison of floating point numbers. Possible loss of precision while rounding values" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/DrawingContextImpl.cs(307,17)
|
Inspect code:
src/Consolonia.Core/Drawing/DrawingContextImpl.cs#L307
"[CompareOfFloatsByEqualityOperator] Equality comparison of floating point numbers. Possible loss of precision while rounding values" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/DrawingContextImpl.cs(307,56)
|
Inspect code:
src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs#L447
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs(447,30)
|
Inspect code:
src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs#L448
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs(448,30)
|
Inspect code:
src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs#L543
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs(543,30)
|
Inspect code:
src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs#L544
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/DrawingContextImplTests.cs(544,30)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs#L25
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs(25,44)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs#L85
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs(85,36)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/SimpleSymbol.cs#L46
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/SimpleSymbol.cs(46,49)
|
Inspect code:
src/Consolonia.Core/Dummy/DummyConsole.cs#L27
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Dummy/DummyConsole.cs(27,44)
|
Inspect code:
src/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs#L72
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs(72,41)
|
Inspect code:
src/Tools/Avalonia.PreviewHost/Program.cs#L5
"[ClassNeverInstantiated.Global] Class 'Program' is never instantiated" on /home/runner/work/Consolonia/Consolonia/src/Tools/Avalonia.PreviewHost/Program.cs(5,20)
|
Loading