From 2047aa30e13daed36ac0db13b9ccbe6e654adb42 Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Mon, 9 Jun 2025 22:25:27 +0200 Subject: [PATCH] add typescript specific linting --- eslint.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index de201044..32a7f598 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,7 @@ -// eslint.config.js -export default [ +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + tseslint.configs.recommended, { files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], rules: { @@ -7,4 +9,4 @@ export default [ "prefer-const": "error" } } -]; +);