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

Prettier settings change to make it more suitable for TS and modern IDEs. #74

Merged

Conversation

kamilmadejek
Copy link
Collaborator

This PR changes the Prettier setting printWidth from 80 to 120.

The main motivation is improving code readability while keeping long descriptive identifiers of values and types. 80 character limit causes TypeScript code to be overly vertical and more difficult to read and traverse.

The settings change has been followed with batch rewriting of all source files to adhere to a new format. This has changed most of the files in the project, but the process has been fully automatic.

@nephio-prow nephio-prow bot requested review from efiacor and liamfallon November 27, 2024 09:51
@efiacor
Copy link

efiacor commented Nov 27, 2024

/approve

Copy link

nephio-prow bot commented Nov 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: efiacor, kamilmadejek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot added the approved label Nov 27, 2024
@kamilmadejek kamilmadejek changed the title Prettier (auto formatter) settings change to make it more suitable for TS and modern IDEs. Prettier settings change to make it more suitable for TS and modern IDEs. Nov 27, 2024
Copy link

nephio-prow bot commented Nov 27, 2024

@kamilmadejek: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@radoslawc
Copy link

/lgtm

@nephio-prow nephio-prow bot added the lgtm label Nov 27, 2024
@nephio-prow nephio-prow bot merged commit ba9dd8a into nephio-project:main Nov 27, 2024
9 checks passed
@kamilmadejek kamilmadejek deleted the prettier-settings-update branch November 27, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants