Skip to content

Commit

Permalink
VS Code extension recommendations (#1556)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Moat <2937187+AaronMoat@users.noreply.github.com>
Co-authored-by: Sam Chung <samchungy@gmail.com>
  • Loading branch information
3 people authored May 7, 2024
1 parent 478b72a commit 81780d9
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-ties-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skuba': patch
---

template: Add extension recommendations to `.vscode/extensions.json`
5 changes: 5 additions & 0 deletions .changeset/spotty-suits-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skuba': patch
---

lint: Exclude `.vscode/extensions.json` from being ignored by `.gitignore`
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# managed by skuba
.idea/*
.vscode/*
!.vscode/extensions.json

.cdk.staging/
.serverless/
Expand Down
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
}
1 change: 1 addition & 0 deletions docs/cli/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Familiarise yourself with the directory structure that **skuba** has created:
```shell
├── .buildkite
├── .github
├── .vscode
└── src
├── app.test.ts
├── app.ts
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config-skuba/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# managed by skuba
.idea/*
.vscode/*
!.vscode/extensions.json

.cdk.staging/
.serverless/
Expand Down
1 change: 1 addition & 0 deletions packages/skuba-dive/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# managed by skuba
.idea/*
.vscode/*
!.vscode/extensions.json

.cdk.staging/
.serverless/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ node_modules*/
"data": "# managed by skuba
.idea/*
.vscode/*
!.vscode/extensions.json
.cdk.staging/
.serverless/
Expand Down
1 change: 1 addition & 0 deletions src/utils/dir.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ describe('createInclusionFilter', () => {
'.buildkite/pipeline.yml',
'.eslintignore',
'.prettierrc.js',
'.vscode/extensions.json',
'Dockerfile',
'jest.config.ts',
'README.md',
Expand Down
3 changes: 3 additions & 0 deletions template/base/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
}
1 change: 1 addition & 0 deletions template/base/_.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# managed by skuba
.idea/*
.vscode/*
!.vscode/extensions.json

.cdk.staging/
.serverless/
Expand Down

0 comments on commit 81780d9

Please sign in to comment.