Skip to content

Fix the shell script indentation -- should be 4, not 2#885

Merged
mhucka merged 6 commits intomasterfrom
mh-update-dot-files
Sep 19, 2025
Merged

Fix the shell script indentation -- should be 4, not 2#885
mhucka merged 6 commits intomasterfrom
mh-update-dot-files

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented Sep 11, 2025

Changes:

  • Fix the value for shell indentation in .editorconfig. It was incorrectly set to 2, and should be 4 instead.
  • Add missing setting for makefiles in .editorconfig.
  • In some other files, the relevant value of a linter configuration property should match the value of the editor configuration in .editorconfig. To help us remember this, I added appropriate comments to other config files.
  • In reviewing the files, I now feel that the introductory comments at the tops of several files were too verbose and needlessly hard to maintain. I streamlined the comments.

Fix the value for shell indentation, which was incorrectly set to 2.

Also, streamline the comments at the top so that they are less verbose
and visually assaulting.
In some places, the value of a linter configuration property should
match the value of the editor configuration in `.editorconfig`. This is
easily forgotten, so I added a comment to remind us.

Also, I streamlined the introductory comments at the tops of the files
to make them less verbose.
@github-actions github-actions Bot added the size: S 10< lines changed <50 label Sep 11, 2025
mhucka and others added 2 commits September 12, 2025 03:26
Add indentation for makefiles, including *.mk files.
@mhucka mhucka marked this pull request as ready for review September 15, 2025 02:50
@mhucka mhucka requested a review from pavoljuhas September 15, 2025 02:51
Comment thread .editorconfig
Copy link
Copy Markdown
Collaborator

@pavoljuhas pavoljuhas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix editorconfig for Makefile before merging.

Per [review comment by
@pavoljuhas](#885 (comment)),
Makefiles use tab for indentation and so the configuration needs to
change `indent_style` accordingly.
@mhucka mhucka enabled auto-merge (squash) September 19, 2025 21:42
@mhucka mhucka merged commit 929ca4c into master Sep 19, 2025
56 checks passed
@mhucka mhucka deleted the mh-update-dot-files branch September 19, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: S 10< lines changed <50

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants