Skip to content

Commit

Permalink
chore: add vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jul 10, 2024
1 parent 1c66a2e commit 445ac84
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
${{ runner.os }}-
- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: |
- recursive: true
args: [--frozen-lockfile, --prefer-offline]
Expand All @@ -44,7 +44,7 @@ jobs:
${{ runner.os }}-
- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: |
- recursive: true
args: [--frozen-lockfile, --prefer-offline]
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.DS_Store
.vscode/
.idea/
node_modules/
*.local
Expand Down
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"yoavbls.pretty-ts-errors"
]
}
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"eslint.run": "onSave",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit"
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.referencesCodeLens.enabled": true,
"files.eol": "\n",
"editor.tabSize": 2,
"stylelint.validate": ["css"],
"explorer.fileNesting.enabled": true,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
}

0 comments on commit 445ac84

Please sign in to comment.