From 288fe1c88f47d744189a84a8231bdbafda70d6db Mon Sep 17 00:00:00 2001
From: Thomas Champagne
Date: Sun, 21 Jan 2024 13:49:18 +0100
Subject: [PATCH] chore: add vscode eslint rules
---
.vscode/settings.json | 16 ++++++++++++++++
tsconfig.json | 4 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
create mode 100644 .vscode/settings.json
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..63e3340
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,16 @@
+{
+ "editor.formatOnSave": true,
+ "editor.codeActionsOnSave": {
+ "source.fixAll": "explicit",
+ "source.organizeImports": "never"
+ },
+ "eslint.validate": [
+ "javascript",
+ "javascriptreact",
+ "typescript",
+ "typescriptreact",
+ "html",
+ "json",
+ "yaml"
+ ]
+}
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index 1fe3d29..2e3b2e0 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,7 +2,9 @@
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
- "lib": ["ESNext"],
+ "lib": [
+ "ESNext"
+ ],
"moduleResolution": "node",
"strict": true,
"strictNullChecks": true,