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 a simple .editorconfig file #3220

Merged
merged 2 commits into from
Mar 30, 2022
Merged

Conversation

fstirlitz
Copy link
Contributor

Boilerplate (own contribution, improvement)
  • I am the original author of this code and I am willing to release it under Unlicense

What is the purpose of your pull request?

  • Improvement

This adds an EditorConfig file (https://editorconfig.org/) conforming to the project’s style guidelines; a slight quality-of-life improvement for developers.

@pukkandan
Copy link
Member

The endofline=lf can be problematic on windows machines where is common practice to use autocrlf=True instead.

imo, it would be better to enforce lf endings through gitattributes. What do you think?

@fstirlitz
Copy link
Contributor Author

Sorry, I keep forgetting Windows exists. Perhaps.

@pukkandan pukkandan added the docs/meta/cleanup related to docs, code cleanup, templates, devscripts etc label Mar 27, 2022
@pukkandan pukkandan merged commit 180c815 into yt-dlp:master Mar 30, 2022
@fstirlitz fstirlitz deleted the editorconfig branch March 30, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs/meta/cleanup related to docs, code cleanup, templates, devscripts etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants