From ffb0fcf4f09ea49dc511d8a978e7d625178751aa Mon Sep 17 00:00:00 2001 From: Snowiiii Date: Mon, 14 Oct 2024 23:56:34 +0200 Subject: [PATCH] add editorconfig --- .editorconfig | 27 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 8 +++---- .github/ISSUE_TEMPLATE/feature_request.md | 3 +-- 3 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..eadd72e49 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d2b6f5790..950db03e9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index b932bc4e4..060ad1120 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -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.