mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 15:13:24 +02:00
update prettier and eslint ignore patterns
This commit is contained in:
@@ -2,3 +2,5 @@
|
||||
package-lock.json
|
||||
pnpm-lock.yaml
|
||||
yarn.lock
|
||||
node_modules
|
||||
src/lib/components/ui/*
|
||||
@@ -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