chore(eslint): add global ignores for src-tauri and sidecar

This commit is contained in:
ByteAtATime 2025-07-09 11:03:24 -07:00
parent a1103f0625
commit 7517080d10
No known key found for this signature in database

View file

@ -5,12 +5,14 @@ import svelte from 'eslint-plugin-svelte';
import globals from 'globals';
import { fileURLToPath } from 'node:url';
import ts from 'typescript-eslint';
import { globalIgnores } from 'eslint/config';
import svelteConfig from './svelte.config.js';
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
export default ts.config(
includeIgnoreFile(gitignorePath),
globalIgnores(['src-tauri', 'sidecar']),
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs.recommended,