Fix EOLs and Repo Settings#3
Open
tajmone wants to merge 3 commits intosciter-sdk:masterfrom
Open
Conversation
This commit fixes some text files being indexed with CRLF or mixed EOLs, which might create problems on non-Windows OSs. * Add `.gitattributes` with optimal EOL normalization settings for Nim projects (from_ tajmone/nim-repository-template) and cover all file extensions used in this repository. * Enforce the new EOL normalization rules via `git add --renormalize`, thus fixing those files that were indexed with CRLF or mixed EOLs.
Add `.editorconfig` settings to enforce consistent code styles across various editors and IDEs. Fix files that didn't pass EditoConfig validation via EClint: * Fix indentations (in few places). * Remove trailing whitespace (many occurrences). * Insert newline at file end.
Reorganize and add new exclusions patterns for better cross-platform coverage, including some OS-specific autogenerated system files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix EOLs
This commit fixes some text files being indexed with
CRLFor mixed EOLs, which might create problems on non-Windows OSs..gitattributeswith optimal EOL normalization settings for Nim projects (from: tajmone/nim-repository-template) and cover all file extensions used in this repository.git add --renormalize, thus fixing those files that were indexed withCRLFor mixed EOLs.EditorConfig
Add
.editorconfigsettings to enforce consistent code styles across various editors and IDEs. Most modern editors should pickup those settings from the repository, either natively or via a plugin.Fix files that didn't pass EditoConfig validation via the EClint tool:
Improve Git Exclusion Patterns
Reorganize
.gitignoreand add new exclusions patterns for better cross-platform coverage, including some OS-specific autogenerated system files.