diff --git a/.eslintignore b/.eslintignore index 9e84750c1e7..4667d8bf136 100644 --- a/.eslintignore +++ b/.eslintignore @@ -15,3 +15,4 @@ wordpress/web/wp/wp-content/** wordpress/vendor/** packages/@ourworldindata/*/dist/ dist/ +.vscode/ diff --git a/.prettierignore b/.prettierignore index 39ebada93d8..e37f3f047b1 100644 --- a/.prettierignore +++ b/.prettierignore @@ -14,3 +14,4 @@ coverage packages/@ourworldindata/*/dist/ dist/ grapherData/ +.vscode/ diff --git a/.vscode/launch.json b/.vscode/launch.json index c03c4f57000..f0c74af53e7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,9 @@ "name": "Jest Tests", "program": "${workspaceFolder}/node_modules/jest/bin/jest.js", "request": "launch", - "skipFiles": ["/**"], + "skipFiles": [ + "/**" + ], "type": "node" }, { @@ -19,7 +21,10 @@ "request": "launch", "name": "Jest Test current file", "program": "${workspaceFolder}/node_modules/.bin/jest", - "args": ["${fileBasenameNoExtension}.js", "--watch"], + "args": [ + "${fileBasenameNoExtension}.js", + "--watch" + ], "console": "integratedTerminal" // "internalConsoleOptions": "neverOpen" }, @@ -53,31 +58,38 @@ "name": "Run migrate WP to ArchieML", "program": "${workspaceFolder}/itsJustJavascript/db/migrateWpPostsToArchieMl.js", "request": "launch", - "skipFiles": ["/**"], + "skipFiles": [ + "/**" + ], "type": "node" }, { "name": "Sync WP posts to grapher", "program": "${workspaceFolder}/itsJustJavascript/db/syncPostsToGrapher.js", "request": "launch", - "skipFiles": ["/**"], + "skipFiles": [ + "/**" + ], "type": "node", - "runtimeExecutable": "/home/daniel/.local/share/fnm/node-versions/v18.16.0/installation/bin/node" }, { "name": "Run SVGTester", "program": "${workspaceFolder}/itsJustJavascript/devTools/svgTester/verify-graphs.js", "request": "launch", - "skipFiles": ["/**"], + "skipFiles": [ + "/**" + ], "type": "node", - "args": ["-g", "367"] + "args": [ + "-g", + "367" + ] }, { "name": "Launch admin server", "program": "${workspaceFolder}/itsJustJavascript/adminSiteServer/app.js", "request": "launch", "type": "node", - "runtimeExecutable": "/home/daniel/.local/share/fnm/node-versions/v18.16.0/installation/bin/node" }, { "name": "Attach to node",