mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-08-31 03:07:23 +00:00
chore(eslint): add global ignores for src-tauri and sidecar
This commit is contained in:
parent
a1103f0625
commit
7517080d10
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue