-
Notifications
You must be signed in to change notification settings - Fork 163
Add repo files to help maintain conventions #715
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # EditorConfig is awesome:http://EditorConfig.org | ||
|
|
||
| # top-most EditorConfig file | ||
| root = true | ||
|
|
||
| [*] | ||
| indent_style = space | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.sh] | ||
| indent_size = 4 | ||
|
|
||
| [*.json] | ||
| indent_size = 2 | ||
|
|
||
| [*.css] | ||
| indent_size = 2 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,7 @@ | ||||||
| ############################################################################### | ||||||
| # Set default behavior to automatically normalize line endings. | ||||||
| ############################################################################### | ||||||
| * text eol=lf | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This policy states that you don't mind a mix of line endings. Within a file, line endings could be mixed (and you can blame the editor if you want), but certainly newly introduced files may be created with CRLF line endings. This policy that you propose should mean you're OK with that. |
||||||
|
|
||||||
| # Ensure shell scripts use LF line endings (linux only accepts LF) | ||||||
| *.sh eol=lf | ||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
behavior is the US English spelling of the word. Is there a policy to use British English in the repo?