From 5011354ddc2f1c05c091382a093d7f90c7c9a090 Mon Sep 17 00:00:00 2001 From: Adrian Wannenmacher Date: Fri, 27 Feb 2026 20:20:39 +0100 Subject: [PATCH] add a jsconfig file for better autocompletion This makes editor help, such as autocomplete, much more usefull, while still allowing me to use absolute paths for imports. The latter is needed, so that I don't need an extra build step and also don't need to wory too much about browser imports. Does this violate the _browser based development_ principle? Yes, a tiny little bit. However, using an editor is basically required, and making it that much better seems worthwhile. Did I waste too much time trying to make this perfect? Also yes. A strong reminder why that principle is so important. --- jsconfig.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 jsconfig.json diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..32239a2 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "paths": { + "/*": [ + "./*" + ] + }, + "noEmit": true + } +} \ No newline at end of file