mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-24 17:55:34 +02:00
update prettier and eslint ignore patterns
This commit is contained in:
@@ -7,10 +7,12 @@ import ts from 'typescript-eslint';
|
||||
import svelteConfig from './svelte.config.js';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { includeIgnoreFile } from '@eslint/compat';
|
||||
import { globalIgnores } from 'eslint/config';
|
||||
|
||||
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
|
||||
|
||||
export default ts.config(
|
||||
globalIgnores(['src/lib/components/ui/*']),
|
||||
includeIgnoreFile(gitignorePath, 'Imported .gitignore patterns'),
|
||||
js.configs.recommended,
|
||||
...ts.configs.recommended,
|
||||
|
||||
Reference in New Issue
Block a user