From e31c210fdf45026e16ebb1bd358dc31ae48a739b Mon Sep 17 00:00:00 2001 From: Bernd Storath <999999bst@gmail.com> Date: Mon, 5 Aug 2024 13:58:35 +0200 Subject: [PATCH] fix lint, add vscode settings --- .github/workflows/lint.yml | 8 ++++---- .vscode/settings.json | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 075b1455..0bc8b5c5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,18 +18,18 @@ jobs: - uses: pnpm/action-setup@v4 name: Install pnpm + working-directory: ./src with: run_install: false - + - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '20' + node-version: "20" check-latest: true - cache: 'pnpm' + cache: "pnpm" - name: pnpm lint run: | - cd src pnpm install pnpm lint diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..a63fd15a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "editor.tabSize": 2, + "editor.useTabStops": false, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true +} \ No newline at end of file