Skip to content

Add Format Support for Bash Shell Code#30

Merged
kilo52 merged 9 commits intomasterfrom
feature/format-shell
Mar 7, 2026
Merged

Add Format Support for Bash Shell Code#30
kilo52 merged 9 commits intomasterfrom
feature/format-shell

Conversation

@kilo52
Copy link
Copy Markdown
Member

@kilo52 kilo52 commented Feb 14, 2026

Add support for handling Bash shell script source files.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
@kilo52 kilo52 self-assigned this Feb 14, 2026
@kilo52 kilo52 added the Feature New feature label Feb 14, 2026
@kilo52 kilo52 linked an issue Feb 14, 2026 that may be closed by this pull request
kilo52 added 8 commits March 1, 2026 21:52
Adjusted Bash language unit test case.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Changed because it tracks line numbers not index numbers.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Removed unnecessary scopes.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
When using subshells to assign a string to a variable based on the captured
output of the subshell, only count the variable assignment as one logical line.

Do not count the compound expression for an arithmetic expression when used
as part of an if-statement. The if-statement shall count as one logical
line of code.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
@kilo52 kilo52 merged commit abc1738 into master Mar 7, 2026
22 checks passed
@kilo52 kilo52 deleted the feature/format-shell branch March 8, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Format Support for Shell Code

1 participant