Closed chaitan64arun closed 4 years ago
What about .editorconfig? https://editorconfig.org/ The majority of IDEs support this "standard".
@mbocek Is it similar to gitattributes?
@subhra74 This PR is just an example. The whitespace and line endings seem to be inconsistent throughout the project. Using both Tab/Space causes a long diff when we creating a PR.
I would like to see a consistent system enforced in the code. This will save a lot of time for future contributors and reviewers.
I work on Linux. Line endings are causing a problem when I change something.
So I introduced
.gitattributes
as stated here. https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings#per-repository-settingsI copied the file from BountyCaste project.
https://github.com/bcgit/bc-java/blob/master/.gitattributes