mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-03-09 05:20:21 +00:00
add(format): implement formatting and format check tasks for source files
This commit is contained in:
parent
82a7efad5e
commit
fa08fcfe65
6 changed files with 164 additions and 2 deletions
29
.editorconfig
Normal file
29
.editorconfig
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
# Ensures consistent coding styles for multiple developers working on the same project across various editors and IDEs.
|
||||
|
||||
root = true
|
||||
|
||||
# All files
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Python files - 4 space indent
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
|
||||
# Markdown files - preserve whitespace for formatting
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
# Makefile - requires tabs
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
# Make files - requires tabs
|
||||
[*.make]
|
||||
indent_style = tab
|
||||
Loading…
Add table
Add a link
Reference in a new issue