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

Add trailing newlines to shared code #36250

Merged
merged 1 commit into from
May 12, 2023
Merged

Add trailing newlines to shared code #36250

merged 1 commit into from
May 12, 2023

Conversation

hallipr
Copy link
Member

@hallipr hallipr commented May 12, 2023

Without newlines, shared files may break linting rules in the autorest.csharp repository

Without newlines, shared files may break linting rules in the autorest.csharp repo
@hallipr hallipr enabled auto-merge (squash) May 12, 2023 19:03
@christothes
Copy link
Member

Why do we have this linting rule? I worry that since we don't have the same rules in this repo, nothing prevents this from breaking in the future.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@hallipr
Copy link
Member Author

hallipr commented May 12, 2023

Why do we have this linting rule? I worry that since we don't have the same rules in this repo, nothing prevents this from breaking in the future.

I don't disagree with the rule for consistency sake. We also don't have a standard encoding for the repo. Just looking at cs files, 71k have no bom, 9.5k do. 79k have trailing new lines, 1.5k don't.

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.

4 participants