Name Message Date
📁 .claude Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📁 .devcontainer Create basic devcontainer 10 hours ago
📁 .vscode Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📁 scripts Add BirdNET TF.js on-device bird identification 3 hours ago
📁 src Add BirdNET TF.js on-device bird identification 3 hours ago
📁 static Add BirdNET TF.js on-device bird identification 3 hours ago
📄 .gitignore Add BirdNET TF.js on-device bird identification 3 hours ago
📄 .npmrc Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📄 CLAUDE.md Add initial UI: curved arc nav and mic toggle button 4 hours ago
📄 deno.json Add BirdNET TF.js on-device bird identification 3 hours ago
📄 deno.lock Add BirdNET TF.js on-device bird identification 3 hours ago
📄 eslint.config.js Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📄 package.json Add BirdNET TF.js on-device bird identification 3 hours ago
📄 playwright.config.ts Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📄 README.md Add project README and expand CLAUDE.md with vision and code style 5 hours ago
📄 svelte.config.js Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📄 tsconfig.json Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📄 vite.config.ts Initialize SvelteKit project with Deno, TypeScript, ESLint, and Playwright 5 hours ago
📄 eslint.config.js
import path from 'node:path';
import { includeIgnoreFile } from '@eslint/compat';
import js from '@eslint/js';
import svelte from 'eslint-plugin-svelte';
import { defineConfig } from 'eslint/config';
import globals from 'globals';
import ts from 'typescript-eslint';
import svelteConfig from './svelte.config.js';

const gitignorePath = path.resolve(import.meta.dirname, '.gitignore');

export default defineConfig(
	includeIgnoreFile(gitignorePath),
	js.configs.recommended,
	ts.configs.recommended,
	svelte.configs.recommended,
	{
		languageOptions: { globals: { ...globals.browser, ...globals.node } },
		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'
		}
	},
	{
		files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
		languageOptions: {
			parserOptions: {
				projectService: true,
				extraFileExtensions: ['.svelte'],
				parser: ts.parser,
				svelteConfig
			}
		}
	},
	{
		// Override or add rule settings here, such as:
		// 'svelte/button-has-type': 'error'
		rules: {}
	}
);