From b322ae4561cdfe457796e89e4b0f15b7c92d1c7a Mon Sep 17 00:00:00 2001 From: Daniel Simon Date: Wed, 10 Apr 2024 12:59:40 +0700 Subject: [PATCH 1/2] chore: hoist gitignore of node_modules Now that we have a workspace in the root of the repo, we also have node_modules there. --- .gitignore | 1 + contracts/.gitignore | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3c3629e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/contracts/.gitignore b/contracts/.gitignore index 26e79829..cf7db204 100644 --- a/contracts/.gitignore +++ b/contracts/.gitignore @@ -16,7 +16,6 @@ docs/ artifacts cache_hardhat -node_modules coverage/ coverage.json From 356a5aeecbd97f24ef574ef1141a8c27d412325e Mon Sep 17 00:00:00 2001 From: Daniel Simon Date: Wed, 10 Apr 2024 13:09:01 +0700 Subject: [PATCH 2/2] chore: configure VS Code to format using dprint --- .vscode/extensions.json | 5 +++++ .vscode/settings.json | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..c5d06d00 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "dprint.dprint" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..9fab5c28 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "editor.defaultFormatter": "dprint.dprint", + "dprint.path": "node_modules/.bin/dprint" +}