1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

Merge pull request #1417 from EDCD/enhancement/add-editorconfig

Add .editorconfig and reference in Contributing.md
This commit is contained in:
Athanasius 2022-01-27 18:04:33 +00:00 committed by GitHub
commit 5f61f2ccc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
# This is the project top-level .editorconfig
root = true
# Defaults for all file types
[*]
# 4-space indents, no TABs
indent_style = space
tab_width = 4
indent_size = tab
# Hard-wrap at 120 columns
max_line_length = 119
# Windows EOL, for historical reasons
end_of_line = crlf
# UTF-8 is the only sensible option, no BOM
charset = utf-8
# All files should have a final newline
insert_final_newline = true

View File

@ -23,6 +23,16 @@ consistent with our vision for EDMC. Fundamental changes in particular need to b
---
## Text formatting
The project contains an `.editorconfig` file at its root. Please either ensure
your editor is taking note of those settings, or cross-check its contents
with the
[editorconfig documentation](https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties)
, and ensure your editor/IDE's settings match.
---
## General workflow
1. You will need a GitHub account.