-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
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
Fix EOL in C# project files (#109) #1032
Fix EOL in C# project files (#109) #1032
Conversation
* Fix EOL in project files. Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
please no style changes without a linter rule to enforce them. |
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
What's the .editorconfig change? I can't see it, because of the linebreak change. |
if you change the global editorconfig, you'll need to trigger all of the linters, and check whether this affects other languages. At least the prettier linter takes this into account. |
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
…fix_eol Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
This reverts commit 3ece3b0. Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
I reworked editorconfig - I moved C# related block (98% of the file) to IMO no linters we have use editorconfig - it is an IDE recommendation ruleset for new lines, new files, new names, etc, not a requirement. |
@avifenesh rebase over you CI change this and verify that it doesn't change the behavior of prettier. |
BTW we could make add dotnet_analyzer_diagnostic.category-Style.severity = error to .editorconfig and it will make all codestyle rule breach as error. Not sure if it is desired outcome |
@Sa1Gur good idea. I don't see the value in warnings - they're just unenforced noise. Either we want the CI to enforce the linting, or we don't care about it. |
Ok. I will raise PR then |
@Yury-Fridlyand can it be merged? |
* Fix EOL in C# project files (valkey-io#109) Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
This reverts commit 438b737.
* Fix EOL in C# project files (valkey-io#109) Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
* Fix EOL in C# project files (#109) Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
\r\n
changed to\n
by