Closed JCKortlang closed 6 months ago
I suspect it has to do with the interplay of the .editorconfig's end_of_line
setting and git autocrlf. I would recommend removing the end_of_line
settings and configuring .gitattributes to automatically handle this (see https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#per-repository-settings). You will likely need to renormalize line endings if you choose this route (see https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#refreshing-a-repository-after-changing-line-endings).
Closing this issue as we've seen no reply to the request for more information. If you are able to get the requested information, please add it to the issue and we will retriage it.
Details
EnforceCodeStyleInBuild=true
enabled solution with.editorconfig
is successfully formatted locally and pushed to my company's internal git repository which is then replicated into AWS CodeCommit. The AWS CodeCommit source code is then pulled into AWS CodeBuild for release.The build fails in AWS CodeBuild due to violations of
IDE0055
.Triage / Investigation
SDK
Mitigation
Set
IDE0055
to 'warn'.Root Cause
Unknown. I suspect formatting changes to the files between the repository systems.
Ask / Question
Mainly posting this issue to documented it but I am curious as to others input.
e.g. Dump formatting diagnostics.
.editorconfig