Skip to content
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

style: consistent 4 space indentation + shfmt #1086

Merged
merged 3 commits into from
Apr 9, 2023
Merged

style: consistent 4 space indentation + shfmt #1086

merged 3 commits into from
Apr 9, 2023

Conversation

port19x
Copy link
Collaborator

@port19x port19x commented Apr 9, 2023

Pull Request Template

Type of change

  • Bug fix

Description

I normalized indentation to 4 spaces and ran ani-cli through shfmt, which mainly fixed some case statements

Prior inconsistency

2023-04-09_15-11

Checklist

  • bumped version

@port19x
Copy link
Collaborator Author

port19x commented Apr 9, 2023

💀 how does this break shellcheck this bad

@port19x
Copy link
Collaborator Author

port19x commented Apr 9, 2023

Oh, Line 360 <<-EOF is incompatible with space indentation

@port19x port19x marked this pull request as draft April 9, 2023 13:35
@port19x
Copy link
Collaborator Author

port19x commented Apr 9, 2023

Can we get rewrite the lines at 360 to not include <<-EOF magic?
So we can have actual consistent indentation?

@port19x
Copy link
Collaborator Author

port19x commented Apr 9, 2023

https://google.github.io/styleguide/shellguide.html

Google thinks 2 spaces are better than 4 spaces for shell

@port19x
Copy link
Collaborator Author

port19x commented Apr 9, 2023

Anyway, let's do 4 spaces

@port19x port19x marked this pull request as ready for review April 9, 2023 13:46
@port19x port19x merged commit 86cb7b2 into master Apr 9, 2023
@port19x port19x deleted the style branch April 9, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants