mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-07 19:03:10 +03:00
Merge pull request #177 from EDCD/enhancement/add-editorconfig
Add .editorconfig to enforce some standards & begin docs/Contributing.md
This commit is contained in:
commit
7543b04c17
21
.editorconfig
Normal file
21
.editorconfig
Normal 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
13
docs/Contributing.md
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user