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

Backport: Add .gitattributes to fix prettier behavior on Windows #1043

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Oct 9, 2024

Description

Adds .gitattributes to fix prettier behavior on Windows.

Addressed Issue

Backports #1042

Additional Details

N/A

Checklist

Since prettier enforces LF line endings, it would forcefully convert Windows' CLRF linebreaks on every run, causing undesired changes for contributors using Windows.

This is taken from prettier's own `.gitattributes` file: https://github.com/prettier/prettier/blob/main/.gitattributes

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro added the dx Issues related to developer experience (DX) label Oct 9, 2024
@nscuro nscuro added this to the 4.12.1 milestone Oct 9, 2024
@nscuro nscuro changed the base branch from master to 4.12.x October 9, 2024 13:13
@nscuro nscuro merged commit 1bff520 into DependencyTrack:4.12.x Oct 9, 2024
10 checks passed
@nscuro nscuro deleted the backport-pr-1042 branch October 9, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Issues related to developer experience (DX)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant