From 5d0460b9e83442b94a4e48b17442f34f7ef3fd7c Mon Sep 17 00:00:00 2001 From: Oscar Wellner Date: Fri, 31 Jul 2026 21:39:45 +0200 Subject: [PATCH] chore: add editor run/task configs and document editor setup Adds VS Code and WebStorm run configurations for format/lint scripts, and documents format-on-save setup in the README so contributors get consistent formatting without needing to run pnpm format manually. --- .gitattributes | 15 +++++++++------ .gitignore | 3 +++ .prettierignore | 4 +++- .run/format-check.run.xml | 12 ++++++++++++ .run/format.run.xml | 12 ++++++++++++ .run/lint-md.run.xml | 12 ++++++++++++ .vscode/extensions.json | 3 +++ .vscode/launch.json | 4 ++++ .vscode/tasks.json | 26 ++++++++++++++++++++++++++ README.md | 19 +++++++++++++++++++ 10 files changed, 103 insertions(+), 7 deletions(-) create mode 100644 .run/format-check.run.xml create mode 100644 .run/format.run.xml create mode 100644 .run/lint-md.run.xml create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.gitattributes b/.gitattributes index 14a33c8..6377a04 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,11 @@ -* text=auto +* text=auto -*.md text eol=lf -*.yml text eol=lf -*.yaml text eol=lf -*.json text eol=lf +*.md text eol=lf +*.xml text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.json text eol=lf -pnpm-lock.yaml text eol=lf linguist-generated +pnpm-lock.yaml text eol=lf linguist-generated + +.run/* linguist-generated diff --git a/.gitignore b/.gitignore index 9041e00..baf2f40 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ .idea/ .vscode/* +!.vscode/extensions.json +!.vscode/launch.json +!.vscode/tasks.json .claude/worktrees/ diff --git a/.prettierignore b/.prettierignore index 4dfd8f9..fbe32c1 100644 --- a/.prettierignore +++ b/.prettierignore @@ -14,4 +14,6 @@ pnpm-lock.yaml .idea/ .vscode/* -.vscode/extensions.json +!.vscode/extensions.json +!.vscode/launch.json +!.vscode/tasks.json diff --git a/.run/format-check.run.xml b/.run/format-check.run.xml new file mode 100644 index 0000000..6eb628b --- /dev/null +++ b/.run/format-check.run.xml @@ -0,0 +1,12 @@ + + + + + +