Skip to content

align indentation in rest of lib with core#979

Merged
EzraBrooks merged 4 commits intodevelopfrom
align-indentation-in-rest-of-app-with-core
Nov 5, 2025
Merged

align indentation in rest of lib with core#979
EzraBrooks merged 4 commits intodevelopfrom
align-indentation-in-rest-of-app-with-core

Conversation

@EzraBrooks
Copy link
Copy Markdown
Contributor

@EzraBrooks EzraBrooks commented Nov 3, 2025

The src/core directory was two-space indentation (my preference also) but seemingly nothing else was. This PR fixes that and codifies the style in the ESLint config.

@EzraBrooks EzraBrooks changed the title align indentation in rest of app with core align indentation in rest of lib with core Nov 3, 2025
@EzraBrooks EzraBrooks requested a review from bjsowa November 4, 2025 17:04
@EzraBrooks
Copy link
Copy Markdown
Contributor Author

@bjsowa I'll trade you a formatting PR for your formatting PR 😆

Copy link
Copy Markdown
Member

@bjsowa bjsowa left a comment

Choose a reason for hiding this comment

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

2 lines is also my preference. I quickly skimmed through it and everything seems properly formatted except for multi-line docstrings which need to be corrected

Comment on lines 12 to 24
@@ -22,154 +22,154 @@ export default class ROS2TFClient extends EventEmitter {
* @param {string} [options.serverName="/tf2_web_republisher"] - The name of the tf2_web_republisher server.
* @param {string} [options.repubServiceName="/republish_tfs"] - The name of the republish_tfs service (non groovy compatibility mode only).
*/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The multi-line docstrings seem to have misaligned

@EzraBrooks EzraBrooks force-pushed the align-indentation-in-rest-of-app-with-core branch from 4b93f21 to fd5a261 Compare November 5, 2025 15:19
@EzraBrooks EzraBrooks requested a review from bjsowa November 5, 2025 15:21
@EzraBrooks
Copy link
Copy Markdown
Contributor Author

Good catch @bjsowa, we didn't have any linting applied to multiline comments. I enabled the default setting in ESLint and it cleaned all that up.

Copy link
Copy Markdown
Member

@bjsowa bjsowa left a comment

Choose a reason for hiding this comment

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

LGTM. @EzraBrooks I'll ping you on my next formatting PR 😄

@EzraBrooks EzraBrooks merged commit 0a4a41a into develop Nov 5, 2025
3 checks passed
@EzraBrooks EzraBrooks deleted the align-indentation-in-rest-of-app-with-core branch November 5, 2025 15:31
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.

3 participants