import svelte from "eslint-plugin-svelte";
import ts from "typescript-eslint";
import { config as baseConfig } from "./base.js";

export const config = [
	...baseConfig,
	...svelte.configs.recommended,
	...svelte.configs.prettier,
  {
    rules: {
			// typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.
			// see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
			'no-undef': 'off'
		}
  }
]
