mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Add .editorconfig
* The settings are for all file types, we might have some exceptions, i.e. .xml files. * This is based on what we've been doing all along. Only the max line length has previously been codified in, e.g. pyproject.toml. We've not even codified things like "4-space indentations, expanded from TABs" in Contributing.md.
This commit is contained in:
parent
5e612d56b3
commit
0d68c454a5
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
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user