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

Add .editorconfig to enforce some standards & begin docs/Contributing.md
This commit is contained in:
Athanasius 2022-01-28 12:12:21 +00:00 committed by GitHub
commit 7543b04c17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 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
# Unix EOL, single \n
end_of_line = lf
# UTF-8 is the only sensible option, no BOM
charset = utf-8
# All files should have a final newline
insert_final_newline = true

13
docs/Contributing.md Normal file
View File

@ -0,0 +1,13 @@
# Contributing to the EDDN Project
## Introduction
This file is still mostly a stub.
## Text format
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.