File tree 2 files changed +3
-15
lines changed
src/steps/writing/creation
2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,7 @@ describe("createDotVSCode", () => {
56
56
expect ( await createDotVSCode ( fakeOptions ( ( ) => true ) ) )
57
57
. toMatchInlineSnapshot ( `
58
58
{
59
- "extensions.json": "{
60
- "recommendations": [
61
- "DavidAnson.vscode-markdownlint",
62
- "dbaeumer.vscode-eslint",
63
- "esbenp.prettier-vscode"
64
- ]
65
- }
59
+ "extensions.json": "{ "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] }
66
60
",
67
61
"settings.json": "{
68
62
"editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" },
@@ -244,13 +238,7 @@ describe("createDotVSCode", () => {
244
238
expect ( await createDotVSCode ( fakeOptions ( ( ) => true , "bin/index.js" ) ) )
245
239
. toMatchInlineSnapshot ( `
246
240
{
247
- "extensions.json": "{
248
- "recommendations": [
249
- "DavidAnson.vscode-markdownlint",
250
- "dbaeumer.vscode-eslint",
251
- "esbenp.prettier-vscode"
252
- ]
253
- }
241
+ "extensions.json": "{ "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] }
254
242
",
255
243
"launch.json": "{
256
244
"configurations": [
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export async function createDotVSCode(options: Options) {
6
6
return {
7
7
"extensions.json" : await formatJson ( {
8
8
recommendations : [
9
- "DavidAnson.vscode-markdownlint" ,
9
+ ! options . excludeLintMd && "DavidAnson.vscode-markdownlint" ,
10
10
"dbaeumer.vscode-eslint" ,
11
11
"esbenp.prettier-vscode" ,
12
12
! options . excludeLintSpelling && "streetsidesoftware.code-spell-checker" ,
You can’t perform that action at this time.
0 commit comments