Browse Source

fix lint, add vscode settings

pull/1250/head
Bernd Storath 9 months ago
parent
commit
e31c210fdf
  1. 8
      .github/workflows/lint.yml
  2. 6
      .vscode/settings.json

8
.github/workflows/lint.yml

@ -18,18 +18,18 @@ jobs:
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
name: Install pnpm name: Install pnpm
working-directory: ./src
with: with:
run_install: false run_install: false
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: "20"
check-latest: true check-latest: true
cache: 'pnpm' cache: "pnpm"
- name: pnpm lint - name: pnpm lint
run: | run: |
cd src
pnpm install pnpm install
pnpm lint pnpm lint

6
.vscode/settings.json

@ -0,0 +1,6 @@
{
"editor.tabSize": 2,
"editor.useTabStops": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
Loading…
Cancel
Save