From 45f09af6f4421b7bae742da69bd8c7d54d2d2093 Mon Sep 17 00:00:00 2001 From: Amiralsallakh Date: Mon, 21 Oct 2024 22:08:15 +0000 Subject: [PATCH] Update eslint.config.js --- eslint.config.js | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 2eeebcc..78f3c37 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,23 +1,14 @@ -import js from '@eslint/js'; -import svelte from 'eslint-plugin-svelte'; -import prettier from 'eslint-config-prettier'; -import globals from 'globals'; - -/** @type {import('eslint').Linter.Config[]} */ -export default [ - js.configs.recommended, - ...svelte.configs['flat/recommended'], - prettier, - ...svelte.configs['flat/prettier'], - { - languageOptions: { - globals: { - ...globals.browser, - ...globals.node - } - } - }, - { - ignores: ['build/', '.svelte-kit/', 'dist/'] - } -]; +{ + "compilerOptions": { + "target": "esnext", + "module": "esnext", + "lib": ["esnext", "dom"], + "strict": true, + "moduleResolution": "node", + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true + }, + "include": ["src/**/*"], + "extends": "./.svelte-kit/tsconfig.json" + }