Skip to content

Commit f0d089b

Browse files
authored
chore: 🧑‍💻 improve some DevEx settings (#4)
# Description Small DevEx settings, like add `.editorconfig`, VS Code settings and extension recommendations.
1 parent 9865946 commit f0d089b

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# EditorConfig settings. Some editors will read these automatically;
2+
# for those that don't, see here: http://editorconfig.org/
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 2
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
max_line_length = 88
14+
15+
# Have a bit shorter line length for text docs
16+
[*.{txt,md,qmd}]
17+
max_line_length = 72
18+
indent_size = 4

.vscode/extensions.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{
22
"recommendations": [
33
"eamodio.gitlens",
4+
"GitHub.vscode-github-actions",
5+
"redhat.vscode-yaml",
46
"donjayamanne.githistory",
57
"felipecaputo.git-project-manager",
6-
"github.vscode-github-actions",
8+
"Posit.air-vscode",
79
"GitHub.vscode-pull-request-github",
8-
"EditorConfig.EditorConfig",
10+
"quarto.quarto",
911
"vivaxy.vscode-conventional-commits",
1012
"pshaddel.conventional-branch",
11-
"redhat.vscode-yaml",
1213
"tekumara.typos-vscode",
13-
"Posit.air-vscode",
14-
"quarto.quarto"
14+
"EditorConfig.EditorConfig",
15+
"samuelcolvin.jinjahtml"
1516
],
17+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
1618
"unwantedRecommendations": []
1719
}

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
"[r]": {
3131
"editor.formatOnSave": true
3232
},
33-
"[quarto]": {
33+
"[quarto][jinja]": {
3434
"editor.formatOnSave": true
3535
},
36+
"files.associations": {
37+
"*.yml.jinja": "jinja-yaml",
38+
"*.cff.jinja": "jinja-yaml"
39+
},
3640
}

0 commit comments

Comments
 (0)