Age | Commit message (Collapse) | Author |
|
It did run linter, but didn't fail if any changes were to be applied, instead it actually applied them (and then dropped). So the job would actually never fail.
|
|
These were causing dotnet format to produce warnings because
they didn't have code fixes available. There are still some IDE0060
rule violations left over that I am not fixing here because they occur
in test projects (and I didn't want to silence all such warnings in the
test projects).
Co-authored-by: vitek-karas <10670590+vitek-karas@users.noreply.github.com>
|
|
|
|
Latest lint writes formatDiagnosticLog.binlong next to the solution file when running with --verbosity diagnostic. There's no way to redirect or disable this - https://github.com/dotnet/format/issues/1041.
So this change disables --verbosity diagnostic for local runs of lint and adds it only to the CI (where the machine will clean the enlistment anyway).
|
|
[main] Update dependencies from dotnet/arcade
- Fix arguments passing to dotnet-format to work with net6
|
|
|
|
|
|
and fix breaking changes
|
|
* Update dependencies from https://github.com/dotnet/arcade build 20200506.5
- Microsoft.DotNet.ApiCompat: 5.0.0-beta.20228.4 -> 5.0.0-beta.20256.5
- Microsoft.DotNet.Arcade.Sdk: 5.0.0-beta.20228.4 -> 5.0.0-beta.20256.5
* Add restore to lint.sh/cmd
* Remove lint restore from azure-pipelines.yml
* Make sure the Lint step fails on violations
* Disable https listening in WebApiTest.cs
It doesn't play nice with CI environments.
* Disable WebApi test on CI on macOS
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
|
|
Fixes command line build on windows in the analyzer project (latest Arcade has conflicts when building net core and net desktop projects at the same time. since we don't need desktop I removed it)
Fixes editorconfig to correctly specify LF as EOL character so that it works on Windows.
Added running the lint (auto-formatter) in command line (lint.sh/lint.cmd). CI now runs this command in a `--dry-run` mode so using it before submitting a PR should guarantee correct formatting.
|