- Deleted the obsolete biome.json file to streamline project configuration. - Updated package.json and bun.lock to include new ESLint and Prettier dependencies for improved code quality and consistency. - Added ESLint configuration package for better linting support across the project. - Cleaned up various package dependencies to ensure a more maintainable and efficient codebase.
20 lines
561 B
JavaScript
20 lines
561 B
JavaScript
import { config as svelteConfigBase } from '@sgse-app/eslint-config/svelte';
|
|
import svelteConfig from './svelte.config.js';
|
|
import ts from 'typescript-eslint';
|
|
import { defineConfig } from "eslint/config";
|
|
|
|
/** @type {import("eslint").Linter.Config} */
|
|
export default defineConfig([
|
|
...svelteConfigBase,
|
|
{
|
|
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: true,
|
|
extraFileExtensions: ['.svelte'],
|
|
parser: ts.parser,
|
|
svelteConfig
|
|
}
|
|
}
|
|
}
|
|
]) |