From c276e22d73ad883d469d07554e243e3ce587b3ff Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Fri, 12 Sep 2025 11:36:13 +0200 Subject: [PATCH] chore: :technologist: update developer settings from template --- .editorconfig | 1 + .github/CODEOWNERS | 9 +--- .github/pull_request_template.md | 4 +- .gitignore | 1 + .typos.toml | 4 -- .vscode/extensions.json | 1 - .vscode/json.code-snippets | 71 -------------------------------- .vscode/settings.json | 20 +++++---- 8 files changed, 16 insertions(+), 95 deletions(-) diff --git a/.editorconfig b/.editorconfig index 4be0557..6ecf0f4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,7 @@ indent_size = 2 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true +max_line_length = 88 # Have a bit shorter line length for text docs [*.{txt,md,qmd}] diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 712f4e8..1c4999e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,9 +1,2 @@ -# All members on Developers team get added to review PRs +# All members on the team get added to review PRs * @seedcase-project/developers - -# Ignore these so we don't get added to sync PRs -/.github/ -/.vscode/ -justfile -.editorconfig -.gitignore diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index b8e25b4..735ead1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,10 +1,10 @@ # Description -These changes PURPOSE, because REASON. +EXPLANATION Closes # -This PR needs a quick/an in-depth review. +Needs a quick/an in-depth review. ## Checklist diff --git a/.gitignore b/.gitignore index e5716ea..76606a5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ _ignore bin/ dev/ +_temp/ # Temporary files *.tmp diff --git a/.typos.toml b/.typos.toml index 2b87511..36a99f8 100644 --- a/.typos.toml +++ b/.typos.toml @@ -5,7 +5,3 @@ extend-exclude = [ "_site/*", "*.svg" ] - -[default.extend-words] -TRE = "TRE" # trusted research environment -SME = "SME" # small and medium-sized enterprises diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 6f89206..bec3c61 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -12,6 +12,5 @@ "EditorConfig.EditorConfig", "tekumara.typos-vscode", ], - // List of extensions recommended by VS Code that should not be recommended for users of this workspace. "unwantedRecommendations": [] } diff --git a/.vscode/json.code-snippets b/.vscode/json.code-snippets index 02b2fd1..d6ccc66 100644 --- a/.vscode/json.code-snippets +++ b/.vscode/json.code-snippets @@ -1,18 +1,4 @@ { - // Place your snippets for Quarto here. - // Each snippet is defined under a snippet name and has a prefix, body and description. - // The prefix is what is used to trigger the snippet and the body will be expanded and inserted. - // Possible variables are: - // - // - $1 and $2 for tab stops, - // - $0 for the final cursor position, and - // - ${1:label}, ${2:another} for placeholders - // - // Placeholders with the same ids are connected. - // - // How to use the code snippets: - // After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when - // you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet. "Insert TODO formatting": { "scope": "quarto,markdown", "prefix": "TODO", @@ -31,21 +17,6 @@ ], "description": "Insert bash formatted text" }, - "Insert YAML header for blogs": { - "scope": "quarto,markdown", - "prefix": "post_yaml", - "body": [ - "---", - "title: \"\"", - "description: \"Our reasons for ...\"", - "author: \"\"", - "date: last-modified", - "categories:", - " ${0:Type 'category_keywords' to insert categories}", - "---" - ], - "description": "Insert YAML header for Quarto blog posts." - }, "Insert a hidden comment section": { "scope": "quarto,markdown", "prefix": "hidden", @@ -76,14 +47,6 @@ ], "description": "Insert a 3 col table" }, - "Insert video": { - "scope": "quarto,markdown", - "prefix": "video", - "body": [ - "{{< video ${0:Insert link here} >}}" - ], - "description": "Insert video that will be shown" - }, "Insert paneltab": { "scope": "quarto,markdown", "prefix": "paneltab", @@ -99,39 +62,5 @@ ":::" ], "description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers." - }, - // All our category words are included in this code snippet - // The idea is that we can insert this section and then delete the words we aren't interested in - // If words are missing then they can be added to the document, and then also added to the code snippet - // Much the same way that words can be added to the spell-check extension. - "Insert list of category words": { - "scope": "quarto,markdown,yaml", - "prefix": "decision_categories", - "body": [ - "- backend", - "- code snippets", - "- communicate", - "- container", - "- contribute", - "- collaborate", - "- database", - "- deploy", - "- dependencies", - "- develop", - "- document", - "- front end", - "- framework", - "- git", - "- install", - "- license", - "- manage", - "- organise", - "- standardise", - "- style", - "- web", - "- workflow", - "- write" - ], - "description": "Insert list of category words" } } diff --git a/.vscode/settings.json b/.vscode/settings.json index ea8daf5..6a8d8be 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,15 +8,17 @@ "editor.tabCompletion": "on", "editor.snippetSuggestions": "inline", "conventional-branch.type": [ - "build", // Changes that affect the build system or external dependencies - "ci", // Changes to our CI configuration files and scripts - "docs", // Documentation only changes - "feat", // A new feature - "fix", // A bug fix - "refactor", // A code change that neither fixes a bug nor adds a feature - "style", // Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) - "test", // Adding missing tests or correcting existing tests - "chore", // Misc things, like renaming or deleting files + "build", + "ci", + "docs", + "feat", + "fix", + "refactor", + "style", + "test", + "chore", + "revert", + "perf" ], "conventional-branch.format": "{Type}/{Branch}", "files.insertFinalNewline": true,