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

Format JavaScript files with Prettier #123

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Conversation

basil
Copy link
Member

@basil basil commented Oct 18, 2024

These files were difficult to read and edit due to inconsistent indentation within the same file (spaces and tabs within the same file) as well as odd-numbered indentation (3 spaces), which isn't supported by Prettier (the code formatting tool for JavaScript used in the Jenkins project). This PR uses Prettier to format these source files using the same configuration used for Jenkins core. This makes it easier to read and edit the files, especially for developers who are used to the coding style used in Jenkins core. No other changes were made to the files other than running Prettier.

@basil basil merged commit 26f3fa5 into jenkinsci:main Oct 18, 2024
1 of 3 checks passed
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.

1 participant