From 990201220285368a8ea5c5f28002962f1ec1bd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michalina=20Ciencia=C5=82a?= Date: Mon, 31 Jan 2022 12:11:38 +0100 Subject: [PATCH] Ignore `external` directory in git and linters An `external/npm/@keep-network/keep-core/artifacts` directory is created every time the `threshold-network/solidity-contracts` dependency is installed. This is due to a workaround in `threshold-network/solidity-contracts` which allows us to use contracts which come from different repos and share the same name. Creation of the `external` folder is a by-product of that. We don't need to track changes in that folder or run linters on its files. --- .eslintignore | 3 ++- .gitignore | 1 + .prettierignore | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index dd5e23ee7..160e52f88 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ storybook-static cypress/fixtures -cypress/plugins \ No newline at end of file +cypress/plugins +external/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 3009c4819..3b1396372 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ # Generated build/ dist/ +external/ # Storybook storybook-static diff --git a/.prettierignore b/.prettierignore index dd5e23ee7..91d50103b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ storybook-static cypress/fixtures -cypress/plugins \ No newline at end of file +cypress/plugins +external \ No newline at end of file