From 89eeeb9075acec512111c9f78ed8158a556e06e4 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 3 Dec 2025 21:54:29 +0100 Subject: Save WIP Again. --- eslint.config.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 eslint.config.js (limited to 'eslint.config.js') diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..21d385b --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,24 @@ +import ts from 'typescript-eslint'; +import prettier from 'eslint-config-prettier/flat'; +import globals from 'globals'; +import svelteConfig from '@sveltejs/eslint-config'; + +export default ts.config( + ...svelteConfig, + { + files: ['src/*.ts', 'src/*.js'], + extends: [ts.configs.recommendedTypeChecked, prettier], + languageOptions: { + parserOptions: { + projectService: true, + tsconfigRootDir: import.meta.dirname, + }, + globals: { + ...globals.node, + }, + }, + }, + { + ignores: ['**/.svelte-kit'], + }, +); -- cgit