Skip to content

Commit 2a5f8f3

Browse files
committed
update shared configs
1 parent d8fa666 commit 2a5f8f3

File tree

6 files changed

+191
-89
lines changed

6 files changed

+191
-89
lines changed

.editorconfig

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,42 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright 2024 Beslogic Inc.
3+
4+
# The source skeleton for this configuration can be found at
5+
# https://github.com/BesLogic/shared-configs/blob/main/.editorconfig
6+
# Modifications to this file that are not project-specific should also be done upstream.
7+
8+
# Editor configuration, see https://editorconfig.org
19
root = true
210

311
[*]
4-
end_of_line = lf
5-
insert_final_newline = true
6-
charset = utf-8
12+
#### Widely Supported by Editors ####
13+
#### https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#widely-supported-by-editors
14+
715
indent_style = space
816
indent_size = 2
17+
# tab_width defaults indent_size when indent_size is a number, but VS will add it back
18+
tab_width = 2
19+
end_of_line = lf
20+
charset = utf-8
21+
trim_trailing_whitespace = true
22+
insert_final_newline = true
923

10-
[*.py]
11-
indent_size = 4
24+
#### Supported By A Limited Number of Editors ####
25+
#### https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#supported-by-a-limited-number-of-editors
26+
27+
max_line_length = 100
28+
29+
#### Ideas for Domain-Specific Properties ####
30+
#### https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#ideas-for-domain-specific-properties
1231

13-
[*.ui]
14-
indent_size = 1
32+
quote_type = auto
33+
34+
#### Language-specific overrides ####
35+
36+
[*.md]
37+
max_line_length = off
38+
trim_trailing_whitespace = false
39+
40+
[*.{py,pyi}]
41+
quote_type = double
42+
indent_size = 4

.github/ISSUE_TEMPLATE/bug-or-crash-report.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ about: Create a report to help us improve
44
title: ''
55
labels: bug
66
assignees: ''
7-
87
---
98

109
### Describe the bug
10+
1111
<!-- A clear and concise description of what the bug is. -->
1212

1313
### To Reproduce
@@ -20,18 +20,20 @@ Steps to reproduce the behavior:
2020
4. See error
2121

2222
### Expected behavior
23+
2324
<!-- A clear and concise description of what you expected to happen. -->
2425

2526
### Screenshots and recordings
27+
2628
<!-- If applicable, add screenshots and/or recordings to help explain your problem. -->
2729

2830
### Traceback or Crash Report
2931

3032
If AutoSplit showed an exception traceback, please paste it here:
3133

3234
```py
33-
3435
```
36+
3537
<!-- If AutoSplit crashed and closed without saying anything, please check Windows' Event Viewer, under Windows Logs > Application, for any recent error relating to AutoSplit -->
3638

3739
### Version (please complete the following information)
@@ -40,7 +42,9 @@ If AutoSplit showed an exception traceback, please paste it here:
4042
- AutoSplit: [e.g. v2.0.0]
4143

4244
### AutoSplit Profile and Split Images
45+
4346
<!-- Please include your AutoSplit profile `.toml` file. You can also add your Split Images if relevant. -->
4447

4548
### Additional context
49+
4650
<!-- Add any other context about the problem here. -->

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@ about: Suggest an idea or improvement
44
title: ''
55
labels: enhancement
66
assignees: ''
7-
87
---
98

109
### Is your feature request related to a problem? Please describe
10+
1111
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
1212

1313
### Describe the solution you'd like
14+
1415
<!-- A clear and concise description of what you want to happen. -->
1516

1617
### Describe alternatives you've considered
18+
1719
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
1820

1921
### Additional context
22+
2023
<!-- Add any other context or screenshots about the feature request here. -->
2124
<!-- Please include an AutoSplit profile `.toml` file and/or Split Images if relevant. -->

.vscode/extensions.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,38 @@
1-
// Keep in alphabetical order
1+
// SPDX-License-Identifier: MIT
2+
// Copyright 2024 Beslogic Inc.
3+
//
4+
// The source skeleton for this configuration can be found at
5+
// https://github.com/BesLogic/shared-configs/blob/main/.vscode/extensions.json
6+
// Modifications to this file that are not project-specific should also be done upstream.
27
{
8+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
9+
// List of extensions which should be recommended for users of this workspace.
10+
// Only keep those used by your specific project
311
"recommendations": [
4-
"charliermarsh.ruff",
5-
"davidanson.vscode-markdownlint",
12+
// General
613
"eamodio.gitlens",
14+
"editorconfig.editorconfig",
15+
"pkief.material-icon-theme",
16+
// GitHub
17+
"bierner.github-markdown-preview",
718
"github.vscode-github-actions",
19+
// Dotenv
20+
"dotenv.dotenv-vscode",
21+
// Python/TOML
22+
"charliermarsh.ruff",
23+
"ms-python.mypy-type-checker",
824
"ms-python.python",
925
"ms-python.vscode-pylance",
26+
"tamasfe.even-better-toml",
27+
// Markdown
28+
"bierner.github-markdown-preview",
29+
"davidanson.vscode-markdownlint",
30+
// Powershell
1031
"ms-vscode.powershell",
11-
"pkief.material-icon-theme",
32+
// XML / Qt
1233
"redhat.vscode-xml",
34+
// YAML
1335
"redhat.vscode-yaml",
14-
"tamasfe.even-better-toml",
1536
],
1637
"unwantedRecommendations": [
1738
// Must disable in this workspace //

0 commit comments

Comments
 (0)