import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";

export const config = [
	{
		ignores: [
			'**/node_modules/**',
			'**/dist/**',
			'**/build/**',
			'**/.turbo/**',
			'**/.svelte-kit/**'
		]
	},
	{
		files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
		plugins: { js },
		extends: ["js/recommended"],
		languageOptions: { globals: { ...globals.browser, ...globals.node } },
	},
	...tseslint.configs.recommended,
]
