We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dressca-backend の .editorconfig には改行コードを LF に変換する設定が存在するが、以下のようにC# と VB.NET に対してしか有効になっていない。
.editorconfig
[*.{cs,vb}] (中略) end_of_line = lf
このままだと nswag.json の改行コードが CRLF に勝手に変換されてしまうため、以下のようにすべてのファイルに対して改行コードを LF に変換するようにする。
[*] end_of_line = lf
ConsoleAppWithDIの方にも同様の問題がないか確認し、必要があれば別途Issueをたてる。
The text was updated successfully, but these errors were encountered:
[*.{cs,vb}]
Sorry, something went wrong.
手詰まり状態なので、他の方の環境ではどのような動作をするか確認を依頼する
別環境で試していただいたが、同様の現象が発生しているので、Visual Studioの仕様の可能性が高い
end_of_line = lf
root = true
end_of_line = crlf
すべてのファイルを対象とすると、バイナリファイル(画像など)に変な副作用があるかもしれないので、 対象は必要なファイルに絞ったほうがよいかもしれない ⇒ フロントエンド側は全ファイルを指定しているので、全ファイル指定でも問題ないように見える。
[*] charset = utf-8 end_of_line = lf insert_final_newline = true indent_size = 2 indent_style = space trim_trailing_whitespace = true
KentaHizume
Successfully merging a pull request may close this issue.
概要
dressca-backend の
.editorconfig
には改行コードを LF に変換する設定が存在するが、以下のようにC# と VB.NET に対してしか有効になっていない。このままだと nswag.json の改行コードが CRLF に勝手に変換されてしまうため、以下のようにすべてのファイルに対して改行コードを LF に変換するようにする。
ConsoleAppWithDIの方にも同様の問題がないか確認し、必要があれば別途Issueをたてる。
完了条件
.editorconfig
に上掲の修正が反映されていること。The text was updated successfully, but these errors were encountered: