superlint/.automation/test/csharp
Vadim Hatsura 80476af4f7
feat: use built-in dotnet format linter for csharp language (#4627)
* chore: add test case for csharp language which should pass

it shows that the current version of linter for csharp language reports false positive issues

* feat: use built-in linter for csharp language

https://github.com/dotnet/format/issues/1268

* chore: remove dotnet-format installation from install-dotnet.sh

dotnet format is a part of .NET 6 SDK and shouldn't be installed separately anymore

* docs: update linter name for dotnet

instead of dotnet-format built-in format command from dotnet is used (points to the same repository as before)

* chore: update linter name for dotnet in tests

---------

Co-authored-by: Zack Koppert <zkoppert@github.com>
2023-10-16 18:31:03 +00:00
..
csharp_bad_01.cs Update C# Bad test (curly brace should be newline) 2020-08-25 14:31:13 -05:00
csharp_good_01.cs Fix C# good test 2020-11-06 22:13:57 +01:00
csharp_good_02.cs feat: use built-in dotnet format linter for csharp language (#4627) 2023-10-16 18:31:03 +00:00
README.md Update csharp test README 2020-08-25 14:26:43 -05:00

CSharp Test Cases

This folder holds the test cases for CSharp.

Additional Docs

No Additional information is needed for this test case.

Good Test Cases

The test cases denoted: LANGUAGE_good_FILE.EXTENSION are all valid, and should pass successfully when linted.

  • Note: They are linted utilizing the default linter rules.

Bad Test Cases

The test cases denoted: LANGUAGE_bad_FILE.EXTENSION are NOT valid, and should trigger errors when linted.

  • Note: They are linted utilizing the default linter rules.