From 57778a74e9e753e85b1e727b38a58c6b3f10698d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 25 Jan 2022 12:44:50 +1000 Subject: [PATCH] exclude .bazel and node_modules from Pylance indexing Should hopefully prevent VS Code from burning CPU needlessly. Pyright is not intended to be used outside of VS Code, as a lot of our legacy code depends on optionals not being checked strictly. Yet another tool that pollutes the root folder. :-( --- pyrightconfig.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyrightconfig.json diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 000000000..e3fbcd57b --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,3 @@ +{ + "exclude": ["**/node_modules", ".bazel"] +}