Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Jakub Jareš b374e4bd26
Don't force matching namespace to folder structure (#3556)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-08-15 11:07:35 +02:00
Amaury Levé a199ed2255
Better layout + description for editorconfig (#3546) 2024-08-14 14:29:55 +02:00
Jakub Jareš bd97b08bb5
Fix warnings on newest VS (#3545) 2024-08-14 13:54:08 +02:00
Amaury Levé 3299539086 [chore] VSSpell check ignore "lifecycle" 2024-07-29 15:06:28 +02:00
Amaury Levé d00bb56ce7
Fix spelling issues (#3330) 2024-07-25 09:23:19 +02:00
Amaury Levé 118cd81763
chore: align analyzers across repos (#2776) 2024-04-30 15:23:14 +02:00
Amaury Levé 197b50d156
Build all src in Linux (#1920) 2023-12-11 20:55:26 +01:00
Amaury Levé 3c8703ae5e
Use modern styles and rules (#1852) 2023-11-29 07:42:33 +01:00
Amaury Levé 2e6c69a923
Set analysis level to latest-recommended (#1816) 2023-11-23 11:21:32 +01:00
Amaury Levé 386f406110 Disable CA1863 2023-11-22 14:51:02 +01:00
Amaury Levé 9d46867a6a
Enable CA1001 (#1811) 2023-11-22 13:35:59 +01:00
Jakub Jareš 5bae8e9758
Fix test project (#1803)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2023-11-22 11:58:45 +01:00
Amaury Levé a8277f24e5
Drop ruleset in favor of editorconfig (#1780) 2023-11-13 09:58:03 +01:00
Amaury Levé 7211748f6f Add threading analyzers
And fix related issues
2023-11-10 14:35:40 +01:00
Amaury Levé 972d4a624c
Fix warnings and cleanup infra (#1773) 2023-11-08 17:24:16 +00:00
Amaury Levé 425048fb92
Enable nullable for Platform Services (#1366) 2022-11-03 20:25:25 +01:00
Amaury Levé d3662ab9f7
Bring back stylecop analyzers (#1314) 2022-10-10 13:37:49 +02:00
Amaury Levé 7e473b1e04
Add public api analyzers (#1318) 2022-10-08 19:34:40 +02:00
Amaury Levé 8922a80b7c
Enable and fix CA1806 violations (#1227) 2022-09-07 12:28:29 +02:00
Amaury Levé 59057b0714
Enable and fix performance analyzers (#1223)
* Enable all analyzers part of the preview level

* Update rules positioning in .editorconfig

* CA1829: Use Length/Count property instead of Count() when available

* CA1840: Use 'Environment.CurrentManagedThreadId'

* CA1825: Avoid zero-length array allocations

* CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method
2022-09-07 09:57:09 +02:00
Amaury Levé 4bb533a660
Use newer C# syntaxes (#1200)
* Use pattern matching

* Use compound assignment

# Conflicts:
#	.editorconfig

* Use null propagation

* Simplify 'default' expression

* Use new(...)

# Conflicts:
#	.editorconfig
#	src/Adapter/MSTest.TestAdapter/Execution/TestExecutionManager.cs
#	test/UnitTests/MSTest.CoreAdapter.Unit.Tests/Discovery/TypeEnumeratorTests.cs

* Prefer 'null' check over type check

# Conflicts:
#	.editorconfig

* Simplify collection initialization

# Conflicts:
#	.editorconfig

* Simplify object initialization

# Conflicts:
#	test/UnitTests/PlatformServices.Desktop.Unit.Tests/Deployment/AssemblyLoadWorkerTests.cs
#	test/UnitTests/PlatformServices.Shared.Unit.Tests/netstandard1.0/Services/ns10MSTestAdapterSettingsTests.cs
2022-08-30 13:44:13 +02:00
Amaury Levé aba70698c8
Define and apply field naming conventions (#1198)
* Do not use 'this.' prefix

* Define and apply fields naming conventions
2022-08-30 10:02:45 +02:00
Amaury Levé f84ea2b842
Convert to file-scoped namespaces (#1197) 2022-08-30 09:31:32 +02:00
Amaury Levé 4a1e386b75
Add whitespace editorconfig and run dotnet format whitespace (#1090) 2022-04-26 15:04:27 +00:00