add editorconfig

This commit is contained in:
Snowiiii
2024-10-14 23:56:34 +02:00
parent c111d6f54d
commit ffb0fcf4f0
3 changed files with 32 additions and 6 deletions

27
.editorconfig Normal file
View File

@@ -0,0 +1,27 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
[*.rs]
max_line_length = 100
[*.md]
# double whitespace at end of line
# denotes a line break in Markdown
trim_trailing_whitespace = false
[*.yml]
indent_size = 2
[Makefile]
indent_style = tab

View File

@@ -1,10 +1,9 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
title: ""
labels: bug
assignees: Snowiiii
---
- [ ] I've searched existing issues and couldn't find a duplicate.
@@ -19,8 +18,9 @@ Steps to reproduce the behavior:
A clear and concise description of what you expected to happen.
**Environment (please complete the following information):**
- Operating System: [e.g., Windows 10, macOS Monterey, Ubuntu 22.04]
- Server Software Version/Commit: [e.g., 1.0.0/39b4cb3]
- Operating System: [e.g., Windows 10, macOS Monterey, Ubuntu 22.04]
- Server Software Version/Commit: [e.g., 1.0.0/39b4cb3]
**Additional context**
Add any other context about the problem here.

View File

@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
title: ""
labels: enhancement
assignees: Snowiiii
---
- [ ] I've searched existing issues and couldn't find a duplicate.