Types generated from .razor files are reported as missing
- Dominant language
- No language data
- Stars
- 1.9k
- Forks
- 173
- Avg merge
- 10d 13h
- Merged PRs (30d)
- 1
Description
Hello and thank you for an amazing tool!
We're trying to enforce code conventions during commit hooks and `dotnet-format` helps perfectly.
We've got troubles using new rules from [Roslynator](https://github.com/JosefPihrt/Roslynator) [v3.1.0](https://github.com/JosefPihrt/Roslynator/releases/tag/v3.1.0) introduced a new rule [RCS0053](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS0053.md) enforcing consistent indentation for lists which is the only rule I found doing so far.
By running `dotnet format -wsa warn` the following errors appears:
```
Unable to fix RCS0053. Code fix FixFormattingOfListCodeFixProvider didn't return a Fix All action.
Unable to fix SA1306. Code fix RenameToLowerCaseCodeFixProvider didn't return a Fix All action.
```
Rules are working perfectly in VSCode / Intellij Rider, except of running via `dotnet format`. We could live with that by manually going though the code invoking the refactoring snippets, but I see that `dotnet format -wsa warn --check` bypass checks if there is no fix available assuming the code is fine.
Is there any options to return non-zero code if `dotnet-format` unable see error but unable to fix so that `lint-staged` would fail?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.