getsentry / getsentry/sentry-dotnet

Ensure consistent code style in Powershell and Bash scripts

Open
#4,409 1 comment 0 reactions 0 assignees View on GitHub
.NET Repository Maintenance Task
Dominant language
C#
Stars
770
Forks
248
Avg merge
3d 4h
Merged PRs (30d)
49

Description

We are not 100 % consistent with indentation style in PowerShell, using a mix of _Allman_ and _Kernighan & Ritchie_ styles.

It probably doesn't matter which one we pick, as long as we're consistent... This is really just for code readability.

Also not the kind of thing we want to spend human processing power on. We should add something to the [format workflow](https://github.com/getsentry/sentry-dotnet/blob/main/.github/workflows/format-code.yml) in CI to ensure consistent coding style for our scripts.

_Originally posted by @Flash0ver in https://github.com/getsentry/sentry-dotnet/pull/4406#discussion_r2250909042_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.